Skip to content

Conversation

YunKuiLu
Copy link
Contributor

  • Add usage field to ZhiPuAi's ChatCompletionChunk
  • Update integration and unit tests to use free model (glm-4-flash) and verify usage field

Fixed #4609

- Add `usage` field to `ChatCompletionChunk`
- Update integration and unit tests to use free model (`glm-4-flash`) and verify `usage` field

Fixed spring-projects#4609

Signed-off-by: YunKui Lu <luyunkui95@gmail.com>
@ilayaperumalg ilayaperumalg added this to the 1.1.0.M4 milestone Oct 13, 2025
@ilayaperumalg ilayaperumalg self-assigned this Oct 13, 2025
@ilayaperumalg
Copy link
Member

@mxsl-gr Could you help with the review of this PR? Thanks!

@ilayaperumalg
Copy link
Member

@YunKuiLu Thanks for the PR adding the usage field to ChatCompletionChunk.

@ilayaperumalg
Copy link
Member

@mxsl-gr Just to ping if you have time to review the changes from this PR. Thanks

@mxsl-gr
Copy link
Contributor

mxsl-gr commented Oct 21, 2025

@mxsl-gr Just to ping if you have time to review the changes from this PR. Thanks

no problem, sorry for late, I was on vacation recently and didn’t check my email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The token usage of Zhipu AI in version 1.0.3 is 0

3 participants