"src/nni_manager/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "e3332641fd2805fd789edf0215a538e38142bfca"
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 @@ ...@@ -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 ?? ''];
......
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