Compare commits

...

1 Commits

Author SHA1 Message Date
icarus
ef0f6a96dd fix: remove stale anthropic-beta header for oauth
Fixes: [Bug]: Error when using claude-neptune-v3
Fixes #11597
2025-12-01 10:54:21 +08:00

View File

@@ -314,7 +314,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',