From 236beefb708a6cd91b673978ddf4ebf045a9844c Mon Sep 17 00:00:00 2001
From: Adam Malczewski <github@tradam.dev>
Date: Sat, 23 May 2026 16:59:20 +0900
Subject: feat: key fallback using agent models[] hierarchy, background tool
 modes, copy truncation

- Agent rate-limit fallback now iterates through agent's configured models[] in strict order
- Frontend sends agentModels with each /chat request; backend uses buildFallbackSequence()
- Emits notice event on fallback so chat shows which key failed and what's being tried next
- Child agents inherit parent's agentModels for fallback
- Added statusCode propagation from AI SDK errors for programmatic 429 detection
- Copy button truncates all tool results at 300 chars (was 200 for 4 specific tools)
- run_shell, summon, youtube_transcribe: background mode support
- summon: blocking mode by default with getResult callback
---
 packages/frontend/src/lib/components/Header.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/frontend/src/lib/components/Header.svelte')

diff --git a/packages/frontend/src/lib/components/Header.svelte b/packages/frontend/src/lib/components/Header.svelte
index 06b8ac1..713e916 100644
--- a/packages/frontend/src/lib/components/Header.svelte
+++ b/packages/frontend/src/lib/components/Header.svelte
@@ -26,7 +26,7 @@ async function handleCopy() {
 }
 </script>
 
-<header class="navbar bg-base-200 border-b border-base-300 px-4 min-h-14 flex-shrink-0">
+<header class="navbar bg-base-200 px-4 min-h-14 flex-shrink-0">
 	<div class="navbar-start">
 		<button class="text-xl font-bold tracking-tight btn btn-ghost px-0" onclick={() => router.navigate("dashboard")}>Dispatch</button>
 	</div>
-- 
cgit v1.2.3

