Make /model provider switch activate selected tier in minimal TUI

This commit is contained in:
William Valentin
2026-02-15 19:53:42 -08:00
parent d44bfc300b
commit 8b1ed2f689
3 changed files with 76 additions and 1 deletions
+12
View File
@@ -57,6 +57,18 @@
"test_status": "pnpm test:run src/daemon/clientFactory.test.ts src/models/openai.test.ts + pnpm typecheck passing (updated to cover textual 401 without status field)"
},
"tui-model-provider-switch-activates-tier": {
"status": "completed",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Fixed minimal TUI /model <tier> <provider/model> behavior to also activate the selected tier and sync agent tier immediately. This prevents confusing cases where provider/model changes are applied to one tier while prompts still run on another tier.",
"files_modified": [
"src/frontends/tui/minimal.ts",
"src/frontends/tui/minimal.test.ts"
],
"test_status": "pnpm test:run src/frontends/tui/minimal.test.ts src/models/openai.test.ts src/daemon/clientFactory.test.ts + pnpm typecheck passing"
},
"deployment-port-env-override": {
"status": "completed",
"date": "2026-02-16",