[settings] Add coding model setting (#922) #929

Closed
sleepy wants to merge 0 commits from feat/coding-model-922 into dev
Owner

Adds coding_model, coding_endpoint_id, and coding_enabled settings parallel to the existing teacher model settings.

Changes

  • DEFAULT_SETTINGS (src/settings.py): add coding_model, coding_endpoint_id, coding_enabled with empty/false defaults
  • System prompt (src/agent/system_prompt.py): inject a coding model section when enabled, informing the agent that a dedicated coding model is available
  • Settings tool (src/tools/settings_tools.py): add friendly aliases (coding modelcoding_model, codingcoding_enabled) and auto-resolve endpoint when setting coding_model
  • Prompt sections (src/agent/prompt_sections.py): add coding model alias to the manage_settings tool description

Testing

  • 1120 passed, 9 pre-existing failures (unchanged baseline)

Closes #922

Adds `coding_model`, `coding_endpoint_id`, and `coding_enabled` settings parallel to the existing teacher model settings. ### Changes - **DEFAULT_SETTINGS** (`src/settings.py`): add `coding_model`, `coding_endpoint_id`, `coding_enabled` with empty/false defaults - **System prompt** (`src/agent/system_prompt.py`): inject a coding model section when enabled, informing the agent that a dedicated coding model is available - **Settings tool** (`src/tools/settings_tools.py`): add friendly aliases (`coding model` → `coding_model`, `coding` → `coding_enabled`) and auto-resolve endpoint when setting `coding_model` - **Prompt sections** (`src/agent/prompt_sections.py`): add `coding model` alias to the `manage_settings` tool description ### Testing - 1120 passed, 9 pre-existing failures (unchanged baseline) Closes #922
Add coding_model, coding_endpoint_id, and coding_enabled settings
parallel to the existing teacher model settings.

- DEFAULT_SETTINGS: add coding_model, coding_endpoint_id, coding_enabled
- system_prompt: inject coding model section when enabled
- settings_tools: add aliases for coding model/coding enabled
- settings_tools: auto-resolve endpoint when setting coding_model
- prompt_sections: add coding model alias in manage_settings desc

Closes #922
Author
Owner

Approved and merged to dev via --no-ff. Clean diff (4 files, +31/-4), 1120/1120 tests pass (9 pre-existing failures). Closing.

Approved and merged to dev via --no-ff. Clean diff (4 files, +31/-4), 1120/1120 tests pass (9 pre-existing failures). Closing.
sleepy closed this pull request 2026-06-04 13:46:39 +02:00

Pull request closed

Sign in to join this conversation.
No description provided.