fix: remove stale anthropic-beta header for oauth
Fixes: [Bug]: Error when using claude-neptune-v3 Fixes #11597
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user