Skip to content

[fix] fix completion stream api output_tokens not in usage#3247

Merged
Jiang-Jia-Jun merged 1 commit into
PaddlePaddle:developfrom
liyonghua0910:fix-coml-total-tokens
Aug 7, 2025
Merged

[fix] fix completion stream api output_tokens not in usage#3247
Jiang-Jia-Jun merged 1 commit into
PaddlePaddle:developfrom
liyonghua0910:fix-coml-total-tokens

Conversation

@liyonghua0910

Copy link
Copy Markdown
Collaborator

修复流式 completion 接口最后一个chunk 返回的 usage 信息缺失 total_tokens 的问题

@paddle-bot

paddle-bot Bot commented Aug 6, 2025

Copy link
Copy Markdown

Thanks for your contribution!

@paddle-bot paddle-bot Bot added the contributor External developers label Aug 6, 2025
@Jiang-Jia-Jun Jiang-Jia-Jun merged commit 09cc4e2 into PaddlePaddle:develop Aug 7, 2025
12 of 14 checks passed
@liyonghua0910 liyonghua0910 deleted the fix-coml-total-tokens branch August 12, 2025 10:43
@liyonghua0910 liyonghua0910 restored the fix-coml-total-tokens branch August 25, 2025 03:34
@liyonghua0910 liyonghua0910 deleted the fix-coml-total-tokens branch September 17, 2025 02:39
xiaoguoguo626807 pushed a commit to xiaoguoguo626807/FastDeploy that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants