Skip to content

Backport: fix(xai): negative text_output_tokens for xAI reasoning models#11664

Closed
ghost wants to merge 1 commit intorelease-v5.0from
backport-pr-11536-to-release-v5.0
Closed

Backport: fix(xai): negative text_output_tokens for xAI reasoning models#11664
ghost wants to merge 1 commit intorelease-v5.0from
backport-pr-11536-to-release-v5.0

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jan 9, 2026

This is an automated backport of #11536 to the release-v5.0 branch. FYI @copilot
This backport has conflicts that need to be resolved manually.

git cherry-pick output

CONFLICT (modify/delete): packages/xai/src/convert-xai-chat-usage.test.ts deleted in HEAD and modified in 77012ef8b (fix(xai): negative text_output_tokens for xAI reasoning models (#11536)).  Version 77012ef8b (fix(xai): negative text_output_tokens for xAI reasoning models (#11536)) of packages/xai/src/convert-xai-chat-usage.test.ts left in tree.
CONFLICT (modify/delete): packages/xai/src/convert-xai-chat-usage.ts deleted in HEAD and modified in 77012ef8b (fix(xai): negative text_output_tokens for xAI reasoning models (#11536)).  Version 77012ef8b (fix(xai): negative text_output_tokens for xAI reasoning models (#11536)) of packages/xai/src/convert-xai-chat-usage.ts left in tree.
Auto-merging packages/xai/src/xai-chat-language-model.test.ts
CONFLICT (content): Merge conflict in packages/xai/src/xai-chat-language-model.test.ts
error: could not apply 77012ef8b... fix(xai): negative text_output_tokens for xAI reasoning models (#11536)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"

@lgrammel
Copy link
Copy Markdown
Collaborator

lgrammel commented Jan 9, 2026

backporting does not make sense, this is a languagemodelv3 thing

@lgrammel lgrammel closed this Jan 9, 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.

2 participants