Route Claude through OpenRouter in opencode #8

Closed
bryan wants to merge 3 commits from claude/suspicious-nightingale-728396 into main
Owner

Re-add the openrouter provider, restore agent/category overrides, and repoint every agent's frontmatter model to the OpenRouter Claude IDs.

Closes #5, #6, #7

Re-add the openrouter provider, restore agent/category overrides, and repoint every agent's frontmatter model to the OpenRouter Claude IDs. Closes #5, #6, #7
Re-add the openrouter provider, restore agent/category overrides, and
repoint every agent's frontmatter model to the OpenRouter Claude IDs.

Closes #5, #6, #7
bryan force-pushed claude/suspicious-nightingale-728396 from 733e72c240 to a18bc11190 2026-04-18 03:58:36 +00:00 Compare
The first agents/categories blocks were dead code - JSON parsers
silently take the last occurrence when keys are duplicated. Preserve
sisyphus-junior (only defined in the first block) by adding it to
the surviving block with its original model.
Prefix every openai/* model with openrouter/ so GPT models go through
the same OpenRouter provider as Claude. Update _migrations list to
record the new mappings.
bryan closed this pull request 2026-04-18 04:16:21 +00:00
bryan deleted branch claude/suspicious-nightingale-728396 2026-04-18 04:16:50 +00:00
Author
Owner

Squash-merged locally as 5b5cb6f on main. Closing since the repo does not permit manually-merged marking via API.

Squash-merged locally as 5b5cb6f on main. Closing since the repo does not permit `manually-merged` marking via API.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bryan/dotfiles!8
No description provided.