fix: chat history model load
This commit is contained in:
1 parent
0cc4284b03
commit
9dc75f3002
1 file changed
+1
-1
@@ -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 ?? ''];
|
||||
|
||||
Reference in new issue
Block a user