Skip to content

Commit 51ce402

Browse files
LukasParkeclaude
andcommitted
chore: switch port model to Claude Opus latest
OPENCODE_MODEL repo variable updated to openrouter/~anthropic/claude-opus-latest to match; contract frontmatter, port.env.example, PORTING.md, and the workflow comment all now reference the same alias. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 8467f1b commit 51ce402

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/upstreamer-port.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
# Provide these in repo settings:
5757
# Secret OPENROUTER_API_KEY — sk-or-... key opencode uses for inference
58-
# Variable OPENCODE_MODEL — e.g. openrouter/~anthropic/claude-sonnet-latest
58+
# Variable OPENCODE_MODEL — e.g. openrouter/~anthropic/claude-opus-latest
5959
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
6060
OPENCODE_MODEL: ${{ vars.OPENCODE_MODEL }}
6161
UPSTREAMER_TIMEOUT_SECONDS: 7200

.upstreamer/port.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OPENROUTER_API_KEY=
1717
#
1818
# This is a load-bearing SDK port with a strict parity eval — use a strong coding
1919
# model. Suggested starting point:
20-
OPENCODE_MODEL=openrouter/~anthropic/claude-sonnet-latest
20+
OPENCODE_MODEL=openrouter/~anthropic/claude-opus-latest
2121

2222
# Optional: hard wall-clock cap for one run, in seconds. A full-surface
2323
# reconciliation is much slower than an incremental delta port.

.upstreamer/upstreamer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
upstream: OpenRouterTeam/typescript-agent
33
downstream: OpenRouterTeam/python-agent
4-
model: openrouter/~anthropic/claude-sonnet-latest
4+
model: openrouter/~anthropic/claude-opus-latest
55
---
66

77
# Python Port Contract — `@openrouter/agent``openrouter-agent`

PORTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Two values, same names locally and in CI:
9696
| Name | Where | What |
9797
|------|-------|------|
9898
| `OPENROUTER_API_KEY` | local: `.upstreamer/port.env` · CI: repo **secret** | `sk-or-…` key opencode uses for inference |
99-
| `OPENCODE_MODEL` | local: `.upstreamer/port.env` · CI: repo **variable** | e.g. `openrouter/~anthropic/claude-sonnet-latest` |
99+
| `OPENCODE_MODEL` | local: `.upstreamer/port.env` · CI: repo **variable** | e.g. `openrouter/~anthropic/claude-opus-latest` |
100100

101101
The wrapper writes the key into `~/.local/share/opencode/auth.json` so headless
102102
runs work without the interactive `opencode /connect` flow.

0 commit comments

Comments
 (0)