Skip to content

test(agent): use a served model in the reasoning-stream e2e test - #147

Merged
w0nche0l merged 1 commit into
mainfrom
dennisjeong/fix-e2e-reasoning-model
Nov 7, 2026
Merged

w0nche0l merged 1 commit into
mainfrom
dennisjeong/fix-e2e-reasoning-model

Conversation

@w0nche0l

@w0nche0l w0nche0l commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Linear: DEV-1382

Problem

e2e-tests fails on every run, including on main. One test fails: the reasoning-stream test in tests/e2e/call-model.test.ts requests minimax/minimax-m2, which OpenRouter no longer serves.

NotFoundResponseError: minimax/minimax-m2 is no longer available on OpenRouter: no provider serves this model anymore.

Change

Use anthropic/claude-haiku-4.5 in that test. The rest of the e2e suite already uses it (67 call sites), and it supports the reasoning parameter.

Test-only change, so there is no changeset.

How to test

pnpm --filter @openrouter/agent test:e2e with OPENROUTER_API_KEY set. I ran the changed test 3 times locally against the live API and it passed each time, with reasoning deltas returned.

minimax/minimax-m2 is no longer served by OpenRouter, so the test fails
with NotFoundResponseError on every run, including on main. Use
anthropic/claude-haiku-4.5, which the rest of the e2e suite already uses
and which supports reasoning.
@w0nche0l
w0nche0l merged commit c055ec4 into main Nov 7, 2026
7 checks passed
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