Skip to content

Add model routing#19

Merged
cpitzi merged 2 commits into
mainfrom
add-model-routing
Apr 25, 2026
Merged

Add model routing#19
cpitzi merged 2 commits into
mainfrom
add-model-routing

Conversation

@cpitzi
Copy link
Copy Markdown
Collaborator

@cpitzi cpitzi commented Apr 25, 2026

No description provided.

cpitzi and others added 2 commits April 25, 2026 00:28
Route Claude Code Action to opus/haiku via `model:opus` / `model:haiku`
issue/PR labels, defaulting to sonnet. Set
`CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000` to raise the per-turn output cap
from 32K. Expand `on:` triggers to include `pull_request` and the
`labeled`/`edited` action types so labels applied after issue/PR
creation re-trigger the action.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The PR review job is mechanical pattern-matching — read diff, flag
problems, return a single consolidated review. Haiku 4.5 is a better
fit than the default model for this scope, and pinning here keeps
review cost predictable independent of the @claude responder routing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cpitzi cpitzi merged commit 01fe9e1 into main Apr 25, 2026
2 checks passed
@cpitzi cpitzi deleted the add-model-routing branch April 25, 2026 05:00
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