Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor(providers): centralize model defaults and choices

9 months ago

08f923a
Authored
mweinbach2/9/2026, 10:36:03 PM
Move provider default/available model definitions into src/providers/index.ts and make desktop, TUI, config fallbacks, and tests consume that catalog so model behavior stays consistent and avoids drift.

Co-authored-by: Cursor <cursoragent@cursor.com>

Parent15818ac

16 files changed
  • apps/desktop/src/App.tsx+2−1
  • apps/desktop/src/app/store.ts+5−3
  • apps/desktop/src/lib/modelChoices.ts+5−8
  • apps/desktop/src/ui/SettingsView.tsx+2−1
  • config/defaults.json+0−2
  • src/providers/anthropic.ts+0−1
  • src/providers/claude-code.ts+0−1
  • src/providers/codex-cli.ts+0−1
  • src/providers/gemini-cli.ts+0−1
  • src/providers/google.ts+0−1
  • src/providers/index.ts+67−6
  • src/providers/openai.ts+0−1
  • src/tui/index.tsx+2−8
  • test/config.test.ts+6−23
  • test/providers/codex-cli.test.ts+14−11
  • test/providers/cross-provider.test.ts+24−8