mirror of
https://github.com/open-webui/open-webui.git
synced 2025-09-02 04:06:57 +02:00
Merge pull request #100 from ollama-webui/dev
fix: chat history model load
This commit is contained in:
@@ -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