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 missing tool fallback in event log panel
Steven Enamakel419b06156528
diff --git a/app/src/components/assistant-ui/elements/tool-fallback.tsx b/app/src/components/assistant-ui/elements/tool-fallback.tsxindex a378c63ca8..cb3c358fdb 100644--- a/app/src/components/assistant-ui/elements/tool-fallback.tsx+++ b/app/src/components/assistant-ui/elements/tool-fallback.tsx@@ -544,7 +544,7 @@ function ToolFallbackApproval({className={pressable}onClick={() => respondWithOption(confirming)}disabled={locked}>- Confirm+ {t('common.confirm', 'Confirm')}</Button><Buttonsize="sm"@@ -552,7 +552,7 @@ function ToolFallbackApproval({className={pressable}onClick={() => setConfirmingId(null)}disabled={locked}>- Back+ {t('common.back', 'Back')}</Button></div></div>diff --git a/app/src/components/settings/panels/__tests__/EventLogPanel.sseConfig.test.tsx b/app/src/components/settings/panels/__tests__/EventLogPanel.sseConfig.test.tsxindex b8ea843d2a..12ad3a6e65 100644--- a/app/src/components/settings/panels/__tests__/EventLogPanel.sseConfig.test.tsx+++ b/app/src/components/settings/panels/__tests__/EventLogPanel.sseConfig.test.tsx@@ -133,9 +133,11 @@ describe('EventLogPanel SSE config frame', () => {});it('caps the buffer from the other end when newest-last', async () => {- // Same cap, opposite direction: the list is [A, B, C] and must keep the- // LAST two. Trimming the wrong end here would silently discard the newest- // events instead of the oldest — which is why both directions are pinned.+ // Same cap, opposite direction: the buffer is [A, B, C] appended and must+ // keep the LAST two (B, C) — trimming the wrong end here would silently+ // discard the newest events instead of the oldest, which is why both+ // directions are pinned. Display still normalizes to newest-first (see+ // the 'bottom' test above), so the surviving pair renders as [C, B].mockFetchRaw(config({ max_entries: 2, new_entries: 'bottom' }) +evt('AlphaEvent') +@@ -146,8 +148,8 @@ describe('EventLogPanel SSE config frame', () => {await waitFor(() => expect(screen.getByText('GammaEvent')).toBeTruthy());expect(renderedEvents(['AlphaEvent', 'BetaEvent', 'GammaEvent'])).toEqual([- 'BetaEvent','GammaEvent',+ 'BetaEvent',]);expect(screen.queryByText('AlphaEvent')).toBeNull();});