Repository navigation
Commit bf7f766
committed
fix(opencode-eval): drop the [1m] suffix from the default model ID
`opencode run --model deepseek/deepseek-v4-pro[1m]` fails fast with:
Model not found: deepseek/deepseek-v4-pro[1m]. Did you mean:
deepseek-v4-pro, deepseek-v4-flash, deepseek-chat?
The `[1m]` suffix is an Anthropic-compat-shim convention for picking
Claude's 1M-context variant; OpenCode reads provider/model IDs from
Models.dev's deepseek registry, which only exposes the plain IDs.
Switch the driver's DEFAULT_MODEL to `deepseek/deepseek-v4-pro` and
leave a comment naming the failure mode so a future contributor
doesn't paste the `[1m]` suffix back in by reflex.
Surfaced by the first dispatch of manual-opencode-judge.yml against
ref=opencode-evals — every scenario test failed with the model-not-found
error before reaching any skill work.
Signed-off-by: Tanzim Saqib <[email protected]>1 parent 1c13d64 commit bf7f766
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
0 commit comments