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
2 changed files with 1 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ jobs:
- name: Add pending label if in quiet hours
if: steps.check_time.outputs.should_delay == 'true'
uses: actions/github-script@v8
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({

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',