Private
Public Access
0
0

conductor(checkpoint): Phase 5 partial - 1 of 9 UX adaptations shipped

Phase 5 of qwen_llama_grok_integration_20260606 ships the foundation
for capability-driven UX. 4 of 6 state tasks done (t5.2 partial: 1 of 9
adaptations; t5.3 skipped; t5.5 cancelled: needs real API keys).

Shipped:
- t5.1: _get_active_capabilities() helper on App class
  (src/gui_2.py:733) - reads the matrix for the active (provider, model)
  pair; falls back to 'unregistered' VendorCapabilities if not found.
- t5.2 (partial): Adaptation 1 of 9 from spec §6 applied
  - Screenshot button iff vision (render_files_and_media:3030)
  - Pattern: caps = app._get_active_capabilities();
    imgui.begin_disabled(not caps.<field>); ...UI...; imgui.end_disabled();
    if not caps.<field>: imgui.same_line(); imgui.text_disabled('(reason)')
- t5.4: 38/38 regression batch passes

Skipped:
- t5.3: providers are exposed via centralized PROVIDERS in src/models.py
  (already done in Phases 2 and 3); no per-provider gettable/callback
  changes needed.
- t5.5: manual smoke test requires real API keys; user must do this
  outside the agent context.

Deferred to follow-up (8 remaining UX adaptations):
- 2: Tools toggle iff tool_calling
- 3: Cache panel iff caching
- 4: Stream progress iff streaming
- 5: Fetch Models button iff model_discovery
- 6: Token budget max = context_window
- 7-9: Cost panel (3 cost_tracking states)

The pattern is established and the helper is in place. Each
remaining adaptation is a mechanical application of the same pattern
at its specific render site.

Verification: 38/38 regression tests pass.
This commit is contained in:
2026-06-11 09:14:33 -04:00
parent b75ae57ef2
commit bdd1309781

Diff Content Not Available