Commit 9dc75f30 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: chat history model load

parent 0cc4284b
......@@ -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 ?? ''];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment