You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] Support ANTHROPIC_AUTH_TOKEN in Anthropic provider config #966
Could we please update the @ai-sdk/anthropic package to support the new ANTHROPIC_AUTH_TOKEN environment variable? The necessary changes are already implemented in PR vercel/ai#11782.
Find @ai-sdk/anthropic dependency in the codebase (packages/web/package.json)
Update dependency from ^2.0.57 to ^3.0.22 (major version supporting ANTHROPIC_AUTH_TOKEN)
Update CHANGELOG.md
Commit and push changes
Summary
Updated @ai-sdk/anthropic from ^2.0.57 to ^3.0.22 in packages/web/package.json. Version 3.0.22 includes support for the ANTHROPIC_AUTH_TOKEN environment variable as requested in the issue.
Note: The yarn.lock file was not updated as part of this change (requires running yarn install locally). It will be updated automatically when the PR is merged and CI runs.
@WaferJay thx for raising this - I realized that provider versions 3.x.x require the ai sdk v6 (we are still on v5), so that will be a bit of a larger migration. We were planning on upgrading to v6 anyways - will try to get to this today
Activity
brendan-kellam commentedon Feb 28, 2026
@claude update the dependency
claude commentedon Feb 28, 2026
Claude finished @brendan-kellam's task in 1m 50s —— View job •
claude/issue-966-20260228-0747• Create PR ➔Task Progress
@ai-sdk/anthropicdependency in the codebase (packages/web/package.json)^2.0.57to^3.0.22(major version supportingANTHROPIC_AUTH_TOKEN)Summary
Updated
@ai-sdk/anthropicfrom^2.0.57to^3.0.22inpackages/web/package.json. Version 3.0.22 includes support for theANTHROPIC_AUTH_TOKENenvironment variable as requested in the issue.chore(web): upgrade @ai-sdk/anthropic from ^2.0.57 to ^3.0.22
brendan-kellam commentedon Feb 28, 2026
@WaferJay thx for raising this - I realized that provider versions 3.x.x require the ai sdk v6 (we are still on v5), so that will be a bit of a larger migration. We were planning on upgrading to v6 anyways - will try to get to this today
WaferJay commentedon Mar 1, 2026
@brendan-kellam Awesome, thanks for the quick fix!