Skip to content

Conversation

vercel-ai-sdk[bot]
Copy link
Contributor

@vercel-ai-sdk vercel-ai-sdk bot commented Oct 13, 2025

This is an automated backport of #9436 to the release-v5.0 branch.

## Background

Added user tracking and request tagging capabilities to the AI Gateway provider to enable better usage analytics and cost attribution.

## Summary

- Added `user` option to track requests by end-user identifier
- Added `tags` option to categorize requests for reporting and filtering
- Updated documentation with examples showing how to use these new tracking features
- Added a changeset for the patch update to `@ai-sdk/gateway`

## Manual Verification

Verified that the new options are properly passed through to the AI Gateway.

## Checklist

- [x] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug fixes / features - run `pnpm changeset` in the project root)
- [x] Formatting issues have been fixed (run `pnpm prettier-fix` in the project root)
- [x] I have reviewed this pull request (self-review)
@vercel-ai-sdk vercel-ai-sdk bot merged commit f6a9bf3 into release-v5.0 Oct 13, 2025
20 checks passed
@vercel-ai-sdk vercel-ai-sdk bot deleted the backport-pr-9436-to-release-v5.0 branch October 13, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant