Skip to content

chore(profile): bump default investigation/subagent models to opus 5 / sonnet 5 - #79

Merged
sourcehawk merged 1 commit into
mainfrom
chore/default-models-opus5-sonnet5
Aug 2, 2026
Merged

chore(profile): bump default investigation/subagent models to opus 5 / sonnet 5#79
sourcehawk merged 1 commit into
mainfrom
chore/default-models-opus5-sonnet5

Conversation

@sourcehawk

Copy link
Copy Markdown
Owner

Description

Updates the baked-in default models used when a profile omits models.investigation / models.subagent, moving from the previous generation (Sonnet 4.6 / Haiku 4.5) to the current one (Opus 5 / Sonnet 5).

Changes

  • internal/profile/profile.go: ApplyDefaults now defaults Models.Investigation to claude-opus-5 and Models.Subagent to claude-sonnet-5.
  • docs/content/profiles.md: example models: block and defaults callout updated to match (the frontend/public/docs/ copy is a gitignored build artifact regenerated via sync-docs, not tracked).

Testing

go test ./internal/profile/... covers ApplyDefaults against the new defaults; ran the full suite locally (internal/profile, pkg/mcp/strategies, pkg/mcp/subagent, internal/sessions, internal/server) plus go build ./..., all green.

…/ sonnet 5

Investigation defaults to claude-opus-5 (was claude-sonnet-4-6) and
subagent dispatch defaults to claude-sonnet-5 (was claude-haiku-4-5)
when a profile omits models.*, tracking the latest model generation.
Copilot AI review requested due to automatic review settings August 2, 2026 20:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates triagent’s baked-in fallback LLM model names used when a profile omits models.investigation / models.subagent, moving the defaults to the newer Opus 5 / Sonnet 5 generation. This affects the launcher’s profile defaulting path (ApplyDefaults) and keeps documentation/tests consistent with the new behavior.

Changes:

  • Update Profile.ApplyDefaults() to default Models.Investigation to claude-opus-5 and Models.Subagent to claude-sonnet-5.
  • Update the unit test that asserts the default model values when absent.
  • Update the profiles documentation example models: block to reflect the new defaults.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
internal/profile/profile.go Bumps the baked-in default investigation/subagent model strings in ApplyDefaults().
internal/profile/profile_test.go Updates the defaulting test assertions to match the new defaults.
docs/content/profiles.md Updates the documented example models: block to Opus 5 / Sonnet 5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sourcehawk
sourcehawk merged commit 50d6859 into main Aug 2, 2026
6 checks passed
@sourcehawk
sourcehawk deleted the chore/default-models-opus5-sonnet5 branch August 2, 2026 22:06
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.

2 participants