Skip to content

Commit f018b73

Browse files
committed
fix
1 parent 33f9c6c commit f018b73

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dashboard/src/lib/components/ChatForm.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
else if (newModels.length > 0 && previousModelIds.size > 0) {
8585
setSelectedChatModel(newModels[0].id);
8686
}
87+
} else {
88+
// No instances running - clear the selected model
89+
if (currentModel) {
90+
setSelectedChatModel('');
91+
}
8792
}
8893
8994
// Update previous model IDs for next comparison

0 commit comments

Comments
 (0)