fix: improve chat flow and cleanup
Awaits sendMessage before navigating to prevent race conditions. Passes agentId to startGeneration for correct agent resolution. Adds topic deletion via Ctrl+Alt+Backspace shortcut. Adds date/time prefix to user messages in LLM context. Fixes reasoning-container typo.
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ const handleChatSubmit = async (message: BaseMessage, model: ModelWithProvider |
|
||||
|
||||
autoRenameTopic(topic.id);
|
||||
|
||||
return startGeneration(model);
|
||||
return startGeneration(model, undefined, targetAgent.id);
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user