pi-mono/packages/coding-agent/src/extensions/llama
Petr Houška df0d88aac1
fix(coding-agent): keep model selector selection when the catalog refresh lands (#11810)
Opening the selector starts a background catalog refresh. When it
finished, the selection jumped back to the current model, or to the top
row with a search query, discarding any browsing done in the meantime.

Pass the selected model into filterModels() so the refresh keeps it
selected by provider and ID. If it is gone, the existing fallback
applies. The index is chosen once and the list is rebuilt once.

Based on #11758.

closes #9109

---------

Co-authored-by: bermudi <github.igizp@dabg.uk>
2026-11-04 22:15:02 +01:00
..
client.ts fix(coding-agent): name the llama.cpp server and cause when it cannot be reached (#11779) 2026-11-04 09:32:51 +01:00
huggingface.ts feat(coding-agent): add Hugging Face llama search 2026-07-17 17:13:39 +02:00
index.ts fix: llama.cpp allow network for model discovery (#8238) 2026-08-17 12:36:17 +02:00
provider.ts feat(coding-agent): use llama.cpp classifier models natively (#10382) 2026-10-06 09:23:07 +02:00
ui.ts fix(coding-agent): keep model selector selection when the catalog refresh lands (#11810) 2026-11-04 22:15:02 +01:00