Commit Graph
2 Commits
Author SHA1 Message Date
linkliti e1039c8ac2 fix(model-config): always load the full model catalog without a query
The model field sent its current text as a server-side search query, so typing MiniMax-M3 filtered the provider list down to the exact match and hid sibling models that exist in the catalog. The field now always requests the full provider list and relies on the existing client-side groupResults ranking to surface current-input matches first, so the whole catalog stays visible without requerying while typing.

Validation: pytest tests/test_model_search_controller.py tests/test_model_search.py tests/test_model_config_ui.py tests/test_onboarding_static.py (29 passed, controller test asserts empty query and draft/provider/base stale-discard).
2026-10-13 18:06:47 +03:00
Alessandro 70c817e0e3 Discard model search results for changed drafts and queries
Extend the existing provider/base request guard with model-draft identity
and the submitted query. Preserve the single-request loading lifecycle and
allow a fresh search after stale results are rejected.

Validation: 8 controller/UI tests passed, covering query, draft, provider
and base changes. Live editor accepted fresh results and discarded a delayed
response after changing the query; test drafts were not saved.
2026-09-07 00:08:28 +02:00