forked from open-webui/open-webui
Merge pull request #100 from ollama-webui/dev
fix: chat history model load
This commit is contained in:
commit
20757f4eec
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@
|
||||||
history = _history;
|
history = _history;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('models' in chat) {
|
if ('models' in chat && chat.models !== undefined) {
|
||||||
selectedModels = chat.models ?? selectedModels;
|
selectedModels = chat.models ?? selectedModels;
|
||||||
} else {
|
} else {
|
||||||
selectedModels = [chat.model ?? ''];
|
selectedModels = [chat.model ?? ''];
|
||||||
|
|
Loading…
Reference in a new issue