mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
Merge pull request #100 from ollama-webui/dev
fix: chat history model load
This commit is contained in:
commit
20757f4eec
@ -372,7 +372,7 @@
|
||||
history = _history;
|
||||
}
|
||||
|
||||
if ('models' in chat) {
|
||||
if ('models' in chat && chat.models !== undefined) {
|
||||
selectedModels = chat.models ?? selectedModels;
|
||||
} else {
|
||||
selectedModels = [chat.model ?? ''];
|
||||
|
Loading…
Reference in New Issue
Block a user