forked from open-webui/open-webui
fix: chat history model load
This commit is contained in:
parent
0cc4284b03
commit
9dc75f3002
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