From ff4d20eed928a55bb268d8ce6276741ae12cd0ec Mon Sep 17 00:00:00 2001 From: ciaranbor <81697641+ciaranbor@users.noreply.github.com> Date: Tue, 17 Mar 2026 11:22:01 +0000 Subject: [PATCH 1/3] Fix image models through dashboard (#1746) ## Motivation Image generation/editing from the dashboard was broken. ChatForm bypassed the parent's model-launch logic, so image requests fell through to text chat. ## Changes - Moved image routing logic from ChatForm.svelte to +page.svelte (routeMessage()) - ChatForm now always delegates to parent via onAutoSend (made required) - Fixed missing updateActiveConversation() call on message retry ## Why It Works All sends now go through the parent's launch-then-route path, so image models get launched before the request is dispatched to the correct endpoint. --- dashboard/src/lib/components/ChatForm.svelte | 50 ++--------------- dashboard/src/lib/stores/app.svelte.ts | 1 + dashboard/src/routes/+page.svelte | 57 ++++++++++++++++++-- 3 files changed, 58 insertions(+), 50 deletions(-) diff --git a/dashboard/src/lib/components/ChatForm.svelte b/dashboard/src/lib/components/ChatForm.svelte index b5cc7166..e768ce33 100644 --- a/dashboard/src/lib/components/ChatForm.svelte +++ b/dashboard/src/lib/components/ChatForm.svelte @@ -1,9 +1,6 @@