The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): handle tool call fallback when tool is not found
Steven Enamakelcd451ef6db75
diff --git a/app/src/components/assistant-ui/elements/tool-fallback.tsx b/app/src/components/assistant-ui/elements/tool-fallback.tsxindex 5213f707ce..dd1fd32c13 100644--- a/app/src/components/assistant-ui/elements/tool-fallback.tsx+++ b/app/src/components/assistant-ui/elements/tool-fallback.tsx@@ -462,13 +462,12 @@ function ToolFallbackApproval({confirmingId != null ? declaredOptions?.find(o => o.id === confirmingId) : undefined;const question = isQuestion(approval);- const dismissible = question && respondToApproval != null && approval?.dismissible === true;-- const dismissButton = dismissible ? (- <Button size="sm" variant="outline" className={pressable} onClick={dismiss} disabled={locked}>- Dismiss- </Button>- ) : null;+ // `approval.dismissible` is not on the `@assistant-ui/core` 0.3.20 type+ // pinned here (only `id`/`prompt`/`display`/`allowFreeform`/decision fields+ // are) — a further version bump is needed before a question can offer a+ // "Dismiss" affordance; until then a question-mode request always renders+ // its full answer surface.+ const dismissButton = null;const promptText = approval?.prompt ? (<p className="aui-tool-fallback-approval-prompt text-foreground whitespace-pre-line">