From b25c2ef0ba0e882f329535d104baa3c021e8a6e0 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sat, 12 Sep 2026 07:10:28 -0700 Subject: [PATCH] test(dev-mock): raise the dev:mock provider context window to the 64K floor Same site class as the e2e fixtures: tests-js/scripts/mock-server.ts writes the config for `npm run dev:mock`. Entry-level providers..context_length is honoured since #98387, so a 4096 window now fails agent init below MINIMUM_CONTEXT_LENGTH exactly as it did for the Playwright fixtures. --- tests-js/scripts/mock-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-js/scripts/mock-server.ts b/tests-js/scripts/mock-server.ts index d9e0806c0c..6dffd2cf0f 100644 --- a/tests-js/scripts/mock-server.ts +++ b/tests-js/scripts/mock-server.ts @@ -1087,7 +1087,7 @@ providers: key_env: MOCK_API_KEY models: mock-model: {} - context_length: 4096 + context_length: 64000 `, 'utf8', )