Skip to content

feat: use Opus for debug mode in auto model routing#37

Open
kiloconnect[bot] wants to merge 1 commit intomainfrom
session/agent_b27749d8-3cc6-4eb4-9798-24592468ad93
Open

feat: use Opus for debug mode in auto model routing#37
kiloconnect[bot] wants to merge 1 commit intomainfrom
session/agent_b27749d8-3cc6-4eb4-9798-24592468ad93

Conversation

@kiloconnect
Copy link
Contributor

@kiloconnect kiloconnect bot commented Feb 5, 2026

Summary

Update the kilo/auto model routing to use Claude Opus for debug mode instead of Sonnet.

Changes

  • Moved debug mode from Sonnet to Opus in the MODE_TO_MODEL mapping
  • Updated comments to reflect the change (debugging is now grouped with reasoning-heavy modes)

Rationale

Debugging often requires deeper reasoning and analysis capabilities, similar to other Opus modes like architect, orchestrator, and ask. Using Opus for debug mode should provide better debugging assistance.

Testing

This is a configuration change that affects model routing. The change is minimal and follows the existing pattern in the codebase.


Built for josh by Kilo for Slack

Update the kilo/auto model routing to use Claude Opus for debug mode
instead of Sonnet. This change aligns debugging with other reasoning-heavy
modes like architect and orchestrator.
@kiloconnect
Copy link
Contributor Author

kiloconnect bot commented Feb 5, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • src/app/api/openrouter/[...path]/route.ts

@lambertjosh
Copy link
Contributor

Per Anthropic, Opus seems far better than Sonnet at debugging problems. Once a RCA is achieved, Sonnet can be used to fix:
image

Sonnet is still pretty good comparably to Opus 4.6 on software coding, especially once a plan is established:
image

@lambertjosh lambertjosh requested a review from iscekic February 5, 2026 18:03
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