@cqa-lib/cqa-ui 1.1.517 → 1.1.518
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13430,6 +13430,7 @@ class AIAgentStepComponent extends BaseStepComponent {
|
|
|
13430
13430
|
const isStepFailed = statusLower === 'failed' || statusLower === 'failure';
|
|
13431
13431
|
const hasExecutionStarted = actions.some((a) => (a.uiType || a.type) === 'STEP_EXECUTION_STARTED');
|
|
13432
13432
|
const hasStepRunSuccessfully = actions.some((a) => (a.uiType || a.type) === 'STEP_RUN_SUCCESSFULLY');
|
|
13433
|
+
const hasPaused = actions.some((a) => (a.uiType || a.type) === 'STEP_RUN_PAUSED');
|
|
13433
13434
|
const hasFailed = isStepFailed ||
|
|
13434
13435
|
actions.some((a) => {
|
|
13435
13436
|
const s = (a.status || '').toString().toLowerCase();
|
|
@@ -13437,7 +13438,7 @@ class AIAgentStepComponent extends BaseStepComponent {
|
|
|
13437
13438
|
}) ||
|
|
13438
13439
|
actions.some((a) => (a.stepStatus || '').toString().toUpperCase() === 'FAILURE') ||
|
|
13439
13440
|
actions.some((a) => (a.uiType || a.type) === 'STEP_RUN_FAILED');
|
|
13440
|
-
this.showThinkingLog = this.isLive && hasExecutionStarted && !hasStepRunSuccessfully && !hasFailed;
|
|
13441
|
+
this.showThinkingLog = this.isLive && hasExecutionStarted && !hasStepRunSuccessfully && !hasFailed && !hasPaused;
|
|
13441
13442
|
}
|
|
13442
13443
|
ngOnInit() {
|
|
13443
13444
|
// Get action from step if available (set by step-renderer directly or via step object)
|