Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to retrieve the ID needed to query generation statistics from OpenRouter. #4352

Open
faizydroid opened this issue Jan 10, 2025 · 1 comment
Labels
ai/provider enhancement New feature or request

Comments

@faizydroid
Copy link

Feature Description

When integrating OpenRouter through the Vercel AI SDK, I am unable to retrieve the ID needed to query generation statistics (such as token counts and costs) from OpenRouter. However, when interacting with OpenRouter directly (outside of the Vercel AI SDK), I can access the ID without any issues.

Use Cases:
Not provided.

Additional Context:
No additional context provided.

Use Cases

No response

Additional context

No response

@faizydroid faizydroid added the enhancement New feature or request label Jan 10, 2025
@lgrammel
Copy link
Collaborator

which provider pkg are you using to access openrouter from the ai sdk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/provider enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants