Merge pull request #100 from ollama-webui/dev

fix: chat history model load
This commit is contained in:
Timothy Jaeryang Baek 2023-11-12 13:49:29 -05:00 committed by GitHub
commit 20757f4eec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ?? ''];