mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
* app/ui: fix model picker showing stale model after switching chats Optimistic messages created during streaming were storing the full Model object instead of the model name string. When switching back to a chat with cached streaming data, the restore effect read an object where it expected a string, causing the model picker to fail matching and remain stuck on the previous chat's model. * app/ui: fix two more instances of Model object passed as model name Fix the same bug at lines 523 and 536 in the assistant_with_tools event handler, where selectedModel (object) was used instead of selectedModel.model (string). |
||
|---|---|---|
| .. | ||
| app | ||
| responses | ||
| app.go | ||
| extract.go | ||
| ui.go | ||
| ui_test.go | ||