mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-12 05:49:05 +02:00
fix: chat history model load
This commit is contained in:
parent
0cc4284b03
commit
9dc75f3002
@ -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…
x
Reference in New Issue
Block a user