Skip to content

Backport: Backport: feat (provider/anthropic): support passing metadata.user_id#13785

Merged
shaper merged 4 commits intorelease-v5.0from
backport-pr-13783-to-release-v5.0
Mar 24, 2026
Merged

Backport: Backport: feat (provider/anthropic): support passing metadata.user_id#13785
shaper merged 4 commits intorelease-v5.0from
backport-pr-13783-to-release-v5.0

Conversation

@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

@vercel-ai-sdk vercel-ai-sdk bot commented Mar 24, 2026

This is an automated backport of #13783 to the release-v5.0 branch. FYI @vercel-ai-sdk[bot]
This backport has conflicts that need to be resolved manually.

git cherry-pick output

Auto-merging content/providers/01-ai-sdk-providers/05-anthropic.mdx
Auto-merging content/providers/01-ai-sdk-providers/08-amazon-bedrock.mdx
Auto-merging content/providers/01-ai-sdk-providers/16-google-vertex.mdx
CONFLICT (file location): examples/ai-functions/src/generate-text/anthropic/metadata.ts added in 05b8ca2b0 (Backport: feat (provider/anthropic): support passing metadata.user_id (#13783)) inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to examples/ai-core/src/generate-text/metadata.ts.
Auto-merging packages/anthropic/src/anthropic-messages-language-model.test.ts
Auto-merging packages/anthropic/src/anthropic-messages-language-model.ts
Auto-merging packages/anthropic/src/anthropic-messages-options.ts
CONFLICT (content): Merge conflict in packages/anthropic/src/anthropic-messages-options.ts
error: could not apply 05b8ca2b0... Backport: feat (provider/anthropic): support passing metadata.user_id (#13783)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"

@tigent tigent bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation feature New feature or request provider/anthropic Issues related to the @ai-sdk/anthropic provider labels Mar 24, 2026
@shaper shaper marked this pull request as ready for review March 24, 2026 04:37
@shaper shaper self-requested a review March 24, 2026 04:37
@shaper shaper merged commit b0a0821 into release-v5.0 Mar 24, 2026
18 checks passed
@shaper shaper deleted the backport-pr-13783-to-release-v5.0 branch March 24, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation feature New feature or request provider/anthropic Issues related to the @ai-sdk/anthropic provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant