Skip to content

CI run for upstream vercel/ai-elements#517 - #1

Closed
burrows99 wants to merge 1 commit into
mainfrom
fix/context-nested-usage-fields
Closed

burrows99 wants to merge 1 commit into
mainfrom
fix/context-nested-usage-fields

Conversation

@burrows99

Copy link
Copy Markdown
Owner

Fork-internal PR only, to run the Test workflow (upstream CI is awaiting maintainer approval).

…etails

ContextReasoningUsage and ContextCacheUsage read usage.reasoningTokens and
usage.cachedInputTokens. Both are deprecated in ai 6 and removed from
LanguageModelUsage in ai 7, so on ai 7 the component fails to compile and
the Reasoning and Cache rows never render.

Read outputTokenDetails.reasoningTokens and inputTokenDetails.cacheReadTokens
instead. They exist from ai 6.0.105, the lowest version the package allows.

Fixes vercel#500
@burrows99

Copy link
Copy Markdown
Owner Author

CI run done; see vercel#517.

@burrows99 burrows99 closed this Oct 12, 2026
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