Skip to content

Commit d33f7cd

Browse files
authored
Merge pull request #171 from vercel-labs/changeset-release/main
Version Packages
2 parents 4358799 + fddf0a3 commit d33f7cd

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.changeset/opencode-gateway-model-prefix.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/agent-eval/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @vercel/agent-eval
22

3+
## 1.3.1
4+
5+
### Patch Changes
6+
7+
- [#170](https://github.com/vercel-labs/agent-eval/pull/170) [`d6e9c86`](https://github.com/vercel-labs/agent-eval/commit/d6e9c86c769f7dcbe5bf78a1f54ad90c2ac230a0) Thanks [@molebox](https://github.com/molebox)! - Fix OpenCode explicit model overrides never routing through the AI Gateway. `--model anthropic/claude-sonnet-5` was passed to the OpenCode CLI verbatim, which reads the first segment as its _provider_ id — a provider that is not configured in the generated opencode.json (only `vercel`, the AI Gateway, is) — so every explicit-model run died at session start with "Unexpected server error". The model override is now resolved host-side (`vercel/` is prefixed unless the caller already targets `vercel/...` or a configured `extraProviders` key) and handed to the runner via `input.extra`, mirroring codex's `openai/` prefixing. Observed models are reported back in the caller's namespace: when the host added the prefix, the runner strips the leading `vercel/` from the observation, so `observedModel === requestedModel` holds for canonical gateway ids and a gateway substitution still surfaces as a clean gateway id. Native-default observations (e.g. `vercel/google/gemini-3-pro-preview`) and already-prefixed or extra-provider requests are unchanged.
8+
39
## 1.3.0
410

511
### Minor Changes

packages/agent-eval/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vercel/agent-eval",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Framework for testing AI coding agents in isolated sandboxes",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)