Unverified Commit 20757f4e authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #100 from ollama-webui/dev

fix: chat history model load
parents e6eb7a7f 9afb7fff
......@@ -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