refactor: Cleanup

This commit is contained in:
Aleksander Grygier 2025-11-29 00:49:20 +01:00 committed by GitHub
parent 2f97dbfa65
commit c76de5e0ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -55,10 +55,8 @@
if (qParam !== null) {
await conversationsStore.createConversation();
await chatStore.sendMessage(qParam);
// Clear URL params after message is sent
clearUrlParams();
} else if (modelParam || newChatParam === 'true') {
// Clear params even if no message was sent (just model selection or new_chat)
clearUrlParams();
}
}