Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
1f66bbba
Commit
1f66bbba
authored
Jan 17, 2024
by
Brandon Hulston
Browse files
Better solution to handle edge cases
parent
81bfb97c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+1
-1
No files found.
src/routes/(app)/c/[id]/+page.svelte
View file @
1f66bbba
...
...
@@ -200,7 +200,7 @@
await chatId.set('local');
}
await tick();
} else if (chat.chat["models"]
[0] == ""
) {
} else if (chat.chat["models"]
!= selectedModels
) {
// If model is not saved in DB, then save selectedmodel when message is sent
chat = await updateChatById(localStorage.token, $chatId, {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment