Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

upgrade eval agent models to sonnet-5 and gpt-5.6-luna - #1393

Merged
jared-outpost[bot] merged 2 commits into
mainfrom
issue-1392-upgrade-eval-models
Aug 8, 2026
Merged

jared-outpost[bot] merged 2 commits into
mainfrom
issue-1392-upgrade-eval-models

Conversation

@jared-outpost

@jared-outpost jared-outpost Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Upgrades the default skill-eval agent models from the older claude-sonnet-4.6 / claude-opus-4.6 pair to the requested newer models.

Changes

  • DEFAULT_AGENT_MODELS in test/skill-eval/helpers/llm-client.ts → anthropic/claude-sonnet-5, openai/gpt-5.6-luna
  • AGENT_MODELS default in test/e2e/skill-eval.test.ts → same pair
  • updated doc comments in script/eval-skill.ts to match

Model IDs use the existing OpenRouter slug convention (<provider>/<model>). The judge model (claude-haiku-4.5) is left unchanged. Both models remain env-overridable via EVAL_AGENT_MODELS.

Closes #1392

@vercel

vercel Bot commented Aug 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cli Ready Ready Preview Aug 8, 2026 12:09am

Request Review

@BYK
BYK marked this pull request as ready for review August 8, 2026 00:06
When only ANTHROPIC_API_KEY is set, strip the anthropic/ prefix from
OpenRouter slugs and reject openai/ models outright so the SDK call
does not fail.

Fixes the HIGH-severity comment on PR #1393.
@BYK

BYK commented Aug 8, 2026

Copy link
Copy Markdown
Member

Jared, merge at will once the CI is green and you addressed all bot review comments

Comment on lines 15 to 18
export const DEFAULT_AGENT_MODELS = [
"anthropic/claude-sonnet-4.6",
"anthropic/claude-opus-4.6",
"anthropic/claude-sonnet-5",
"openai/gpt-5.6-luna",
];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The new default models include an OpenAI model incompatible with the Anthropic-direct provider, causing skill evaluations to fail silently when only ANTHROPIC_API_KEY is present.
Severity: MEDIUM

Suggested Fix

Validate that the selected provider is compatible with all models at the start of the evaluation. If there is a mismatch, either filter out the incompatible models or throw a clear error detailing the configuration problem. Alternatively, revert the default models to a pair that is compatible with a single provider.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: packages/cli/test/skill-eval/helpers/llm-client.ts#L15-L18

Potential issue: The default agent models for skill evaluation were changed to
`["anthropic/claude-sonnet-5", "openai/gpt-5.6-luna"]`. When the evaluation environment
only has the `ANTHROPIC_API_KEY` available and not the `OPENROUTER_API_KEY`, the system
selects the Anthropic-direct provider. This provider cannot handle the OpenAI model.
While an explicit crash is prevented, an error is caught, leading to a `null` plan for
the OpenAI model. This results in a score of 0, causing the entire skill evaluation to
fail its quality threshold, incorrectly flagging a valid skill as faulty.

Also affects:

  • packages/cli/test/e2e/skill-eval.test.ts:25~28

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are only going to use OpenRouter from going on so this should be fine

@BYK

BYK commented Aug 8, 2026

Copy link
Copy Markdown
Member

Jared, if you think this is good to go, merge

@jared-outpost
jared-outpost Bot merged commit fa3b3e2 into main Aug 8, 2026
32 checks passed
@jared-outpost
jared-outpost Bot deleted the issue-1392-upgrade-eval-models branch August 8, 2026 07:58

This branch was successfully deployed

1 active deployment
Preview — c6651e05 Deployed Aug 8, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade eval models

1 participant