Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(assistant-ui): handle missing tool call in fallback component

Steven Enamakel458973688b2b
diff --git a/app/src/components/assistant-ui/elements/tool-fallback.tsx b/app/src/components/assistant-ui/elements/tool-fallback.tsx
index cb3c358fdb..f781240dca 100644
--- a/app/src/components/assistant-ui/elements/tool-fallback.tsx
+++ b/app/src/components/assistant-ui/elements/tool-fallback.tsx
@@ -588,7 +588,7 @@ function ToolFallbackApproval({
className={pressable}
onClick={() => respond(false)}
disabled={locked}>
- Deny
+ {t('chat.approval.deny', 'Deny')}
</Button>
)}
{!acceptsText && dismissButton}
@@ -625,7 +625,7 @@ function ToolFallbackApproval({
{promptText}
<div className="flex items-center gap-2">
<Button size="sm" className={pressable} onClick={() => respond(true)} disabled={locked}>
- Allow
+ {t('workflows.phase.toolScope.allow', 'Allow')}
</Button>
<Button
size="sm"
@@ -633,7 +633,7 @@ function ToolFallbackApproval({
className={pressable}
onClick={() => respond(false)}
disabled={locked}>
- Deny
+ {t('chat.approval.deny', 'Deny')}
</Button>
</div>
{answerField}