Files
Jude Gao 55e0ab49b9 [OpenCode] Add binaryUrl and extraProviders options for unreleased models
Ports the OpenCode portion of #103. The --concurrency flag is intentionally
left out per PR feedback; it can land separately if needed.

createOpenCodeAgent now accepts an optional OpenCodeAgentOptions with two
fields. binaryUrl points at a custom OpenCode build; when set, the agent
curls it into /usr/local/bin/opencode inside the sandbox instead of
npm install -g opencode-ai. This unblocks evals against patched builds that
know about models not yet published to models.dev. extraProviders is a map
of provider entries that get merged into the generated opencode.json
alongside the default vercel provider.

generateOpenCodeConfig was also switched from a hand-built template string
to JSON.stringify on a plain object so the merge is unambiguous.
2026-04-07 19:14:14 -04:00
..
2026-02-09 22:09:59 +00:00