Skip to content

Conversation

@vercel-ai-sdk
Copy link
Contributor

@vercel-ai-sdk vercel-ai-sdk bot commented Nov 9, 2025

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

…er name for anthropic and google (#10091)

## Background
With the baseURL of createAnthropic and createGoogleGenerativeAI, we can
use some providers that offer Anthropic or Gemini-compatible APIs.
Therefore, we hope to pass in a custom provider name to make it easier
to identify specific providers in logging and error tracking.

## Summary

Added support for custom provider name in google and anthropic

## Manual Verification
Wrote eg with telemetery for both google and anthropic to test the
custom provider names

## Related Issues

Fixes #9911

Co-authored-by: Gregor Martynus <[email protected]>
@vercel-ai-sdk vercel-ai-sdk bot merged commit e2dac8b into release-v5.0 Nov 9, 2025
21 checks passed
@vercel-ai-sdk vercel-ai-sdk bot deleted the backport-pr-10091-to-release-v5.0 branch November 9, 2025 23:47
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.

3 participants