From d92e984fec9e2e5f52fed8be7d4a2129432e7fe5 Mon Sep 17 00:00:00 2001 From: Diego Rodrigues de Sa e Souza Date: Fri, 7 Aug 2026 18:08:52 -0300 Subject: [PATCH] fix(providers): bump qwen-web SPA version header from 0.2.66 to 0.2.81 (#9304) Co-authored-by: diegosouzapw --- changelog.d/fixes/9304-fix.plan.md | 1 + open-sse/executors/qwen-web.ts | 4 ++-- tests/unit/executor-qwen-web.test.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changelog.d/fixes/9304-fix.plan.md diff --git a/changelog.d/fixes/9304-fix.plan.md b/changelog.d/fixes/9304-fix.plan.md new file mode 100644 index 0000000000..ad7e0b0ecb --- /dev/null +++ b/changelog.d/fixes/9304-fix.plan.md @@ -0,0 +1 @@ +- fix(providers): bump qwen-web SPA version header from 0.2.66 to 0.2.81 (#9304) diff --git a/open-sse/executors/qwen-web.ts b/open-sse/executors/qwen-web.ts index 6c0a710862..57036a3cbb 100644 --- a/open-sse/executors/qwen-web.ts +++ b/open-sse/executors/qwen-web.ts @@ -47,8 +47,8 @@ const BX_UMIDTOKEN_FALLBACK = "T2gA0000000000000000000000000000000000000000"; // header the upstream returns HTTP 200 with `{"success":false,"data":{"code":"Bad_Request"}}` // for every completion request, even with a valid session. The version string is // the SPA build identifier shipped in the React client's `version` request header. -// Pinned from a live capture (2026-07); bump if Qwen ships a breaking change. -const QWEN_SPA_VERSION = "0.2.66"; +// Pinned from a live capture (2026-08); bump if Qwen ships a breaking change. +const QWEN_SPA_VERSION = "0.2.81"; const MODEL_ALIASES: Record = { // Legacy OmniRoute ids → current upstream catalog (GET /api/models). diff --git a/tests/unit/executor-qwen-web.test.ts b/tests/unit/executor-qwen-web.test.ts index 10b5efe72e..0d8278f770 100644 --- a/tests/unit/executor-qwen-web.test.ts +++ b/tests/unit/executor-qwen-web.test.ts @@ -180,7 +180,7 @@ describe("QwenWebExecutor (v2 migration)", () => { const completionCall = calls.find((call) => call.url.includes("/api/v2/chat/completions")); assert.ok(completionCall, "chat/completions call must have been made"); const headers = completionCall!.init.headers as Record; - assert.equal(headers.version, "0.2.66", "SPA build version header present"); + assert.equal(headers.version, "0.2.81", "SPA build version header present"); }); it("maps the thinking phase to reasoning_content, not the answer content", async () => {