chore(profile): bump default investigation/subagent models to opus 5 / sonnet 5 - #79
Merged
Merged
Conversation
…/ 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.
Contributor
There was a problem hiding this comment.
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 defaultModels.Investigationtoclaude-opus-5andModels.Subagenttoclaude-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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:ApplyDefaultsnow defaultsModels.Investigationtoclaude-opus-5andModels.Subagenttoclaude-sonnet-5.docs/content/profiles.md: examplemodels:block and defaults callout updated to match (thefrontend/public/docs/copy is a gitignored build artifact regenerated viasync-docs, not tracked).Testing
go test ./internal/profile/...coversApplyDefaultsagainst the new defaults; ran the full suite locally (internal/profile,pkg/mcp/strategies,pkg/mcp/subagent,internal/sessions,internal/server) plusgo build ./..., all green.