Skip to content

Conversation

@ThomasK33
Copy link
Member

Adds mode-scoped default model + thinking settings (plan/exec/compact) and per-workspace per-mode overrides.

Key changes:

  • Strongly typed modes (UI: plan|exec; agent: plan|exec|compact) in Zod + TS.
  • New config field modeAiDefaults + Settings UI for global defaults.
  • Workspace overrides persisted per-mode via workspace.updateModeAISettings (compact excluded) and synced locally via WorkspaceModeAISync.
  • Compaction now prefers compact mode defaults for model/thinking.

Validation:

  • make fmt-check
  • make lint
  • make typecheck
  • make test

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh

@ThomasK33 ThomasK33 force-pushed the modes-config-20hn branch 4 times, most recently from 08f28f4 to 4d9c69a Compare December 23, 2025 21:31
Change-Id: I19d4bc5c5dd1e5b2a38a4a3e6021bf0b8543b839
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: I1a5ba1d32ff0a15abae85af904d89074e36be101
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: I8d55fb7ca4c3173706e390846b77416f7540af59
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: Ic00fe3e1cd68818771ac324787461a0427fcfb05
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: I9daeab5067c65855a32f44c9626b8f855072fe9d
Signed-off-by: Thomas Kosiewski <tk@coder.com>

# Conflicts:
#	src/common/utils/tools/toolDefinitions.ts
#	src/node/services/systemMessage.ts
Change-Id: Ib691f6831627e0e03ecfb26339a6bd9b4a4c310c
Signed-off-by: Thomas Kosiewski <tk@coder.com>

# Conflicts:
#	src/browser/utils/RefreshController.test.ts
Change-Id: I73e70a106d775fe476864725b484c74a210e0775
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: I5b50d8a66415580553f621b90b3b7504d779b59a
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: I48698b7b296f11f250b24a9d0889b41df23362d5
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: Ibf3179de947d6c5cce6b9fdd8c81d55638c2c235
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: I33242062387e70d5ada677c9e774bced561db1c6
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant