Skip to content

Version Packages#171

Merged
molebox merged 1 commit into
mainfrom
changeset-release/main
Jul 6, 2026
Merged

Version Packages#171
molebox merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@vercel/agent-eval@1.3.1

Patch Changes

  • #170 d6e9c86 Thanks @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.

@molebox
molebox merged commit d33f7cd into main Jul 6, 2026
4 checks passed
@molebox
molebox deleted the changeset-release/main branch July 6, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant