From a1e95b55f8d67d86e2a575b35aae6a9386053ded Mon Sep 17 00:00:00 2001 From: Phantom Date: Wed, 3 Dec 2025 17:20:12 +0800 Subject: [PATCH] fix: remove stale anthropic-beta header for oauth (#11600) Fixes: [Bug]: Error when using claude-neptune-v3 Fixes #11597 --- src/renderer/src/aiCore/provider/providerConfig.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/renderer/src/aiCore/provider/providerConfig.ts b/src/renderer/src/aiCore/provider/providerConfig.ts index 3ed3633d7..528cc8f66 100644 --- a/src/renderer/src/aiCore/provider/providerConfig.ts +++ b/src/renderer/src/aiCore/provider/providerConfig.ts @@ -336,7 +336,6 @@ export async function prepareSpecialProviderConfig( ...(config.options.headers ? config.options.headers : {}), 'Content-Type': 'application/json', 'anthropic-version': '2023-06-01', - 'anthropic-beta': 'oauth-2025-04-20', Authorization: `Bearer ${oauthToken}` }, baseURL: 'https://api.anthropic.com/v1',