🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(agent): hide background run notices (#15782)
Lysander Kieseldd53ece4f92e
diff --git a/web/src/features/in-app-agent/components/ControlledInAppAgentWindow.tsx b/web/src/features/in-app-agent/components/ControlledInAppAgentWindow.tsxindex 803eefa276..b348c8b522 100644--- a/web/src/features/in-app-agent/components/ControlledInAppAgentWindow.tsx+++ b/web/src/features/in-app-agent/components/ControlledInAppAgentWindow.tsx@@ -36,14 +36,6 @@ function getBackgroundRunNotice(return "Stopping the run…";}- if (run.status === InAppAgentRunStatus.QUEUED) {- return "Waiting for a worker to pick this up. You can close this; the run continues in the background.";- }-- if (run.status === InAppAgentRunStatus.RUNNING) {- return "You can close this; the run continues in the background.";- }-if (run.status === InAppAgentRunStatus.FAILED) {return getBackgroundRunFailureMessage(run.errorCode ?? null);}diff --git a/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsx b/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsxindex 793219dc5d..eca5746d0f 100644--- a/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsx@@ -999,7 +999,7 @@ export const BackgroundRun = meta.story({isAssistantTurnInProgress: true,executionUi: {type: "background",- notice: "You can close this; the run continues in the background.",+ notice: null,stop: { status: "available", onStop: fn() },},messages: [@@ -1091,10 +1091,7 @@ export const BackgroundRunStops = meta.story({? { type: "background", notice: null, stop: null }: {type: "background",- notice:- phase === "stopping"- ? "Stopping the run…"- : "You can close this; the run continues in the background.",+ notice: phase === "stopping" ? "Stopping the run…" : null,stop: {status: phase === "stopping" ? "stopping" : "available",onStop: () => {