chain-studio/lib/widgets
flemming-it 5b6641567c feat(studio): system-ai editor — test-without-save + model picker (v0.13.0)
Three operator-facing improvements driven by Stefan's testing:

  * **Test Connection** runs against the form's *current* values
    and no longer requires saving first. Previously we save-then-
    test which caused a "system AI is disabled" message when the
    form's model field was still empty. Now the test prompt
    travels with the request body so unsaved tweaks can be
    validated.

  * **Model picker** replaces the free-text Model field. A
    Refresh button calls HubAdmin.ListSystemAiModels (provider's
    `/v1/models`); installed models show up as clickable chips
    that fill the field with one tap. The text input stays for
    cases where the operator already knows the id.

  * **Pull** button (Ollama only) downloads a model via
    `/api/pull`. Type `gemma3:4b`, click Pull, spinner, then the
    new model lights up in the chip list. No more "switch to a
    terminal to ollama-pull" detour.

Helper text updates for the empty-model case ("Required: pick
from the list (Refresh) or type one. Use Pull to download from
Ollama.") so a fresh operator never wonders why Save / Test
errors out.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-05-07 14:02:44 +02:00
..
fai_card.dart feat(ui): warm-minimalism redesign — design tokens + 6 primitives + animated ∆ 2026-05-05 21:49:37 +02:00
fai_data_row.dart feat(ui): warm-minimalism redesign — design tokens + 6 primitives + animated ∆ 2026-05-05 21:49:37 +02:00
fai_delta_mark.dart fix(ui): visible ∆ pulse + drop internal codename from version line 2026-05-05 22:51:19 +02:00
fai_empty_state.dart feat(ui): warm-minimalism redesign — design tokens + 6 primitives + animated ∆ 2026-05-05 21:49:37 +02:00
fai_module_sheet.dart feat(ui): module-detail bottom sheet on tap 2026-05-05 22:15:41 +02:00
fai_pill.dart feat(ui): warm-minimalism redesign — design tokens + 6 primitives + animated ∆ 2026-05-05 21:49:37 +02:00
fai_settings_dialog.dart feat(studio): in-place System AI editor (v0.12.0) 2026-05-07 13:41:11 +02:00
fai_status_dot.dart feat(ui): warm-minimalism redesign — design tokens + 6 primitives + animated ∆ 2026-05-05 21:49:37 +02:00
fai_system_ai_editor.dart feat(studio): system-ai editor — test-without-save + model picker (v0.13.0) 2026-05-07 14:02:44 +02:00
widgets.dart feat(studio): in-place System AI editor (v0.12.0) 2026-05-07 13:41:11 +02:00