Skip to content

Revert "fix: AI Gateway usage token counts are undefined in AI SDK results" - #17277

Merged
lgrammel merged 1 commit into
mainfrom
lg/YISIEMtN
Jul 15, 2026
Merged

Revert "fix: AI Gateway usage token counts are undefined in AI SDK results"#17277
lgrammel merged 1 commit into
mainfrom
lg/YISIEMtN

Conversation

@lgrammel

@lgrammel lgrammel commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Background

#17227 introduced backwards compatibility for ai gateway usage. However, this only happens if incompatible AI SDK and gateway versions are used and should not be an issue in practice. Thus the fix unnecessarily complicates the codebase.

Summary

Revert #17227

@lgrammel lgrammel changed the title Revert "fix: AI Gateway usage token counts are undefined in AI SDK results (#17227) Revert "fix: AI Gateway usage token counts are undefined in AI SDK results" Jul 15, 2026
@lgrammel
lgrammel merged commit b13b5fa into main Jul 15, 2026
37 of 38 checks passed
@lgrammel
lgrammel deleted the lg/YISIEMtN branch July 15, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant