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 <[email protected]>
@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.

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

2 participants