Skip to content

Zhipu AI model fails to retrieve usage info from ChatResponse upon chat completion #5024

@yunqilee69

Description

@yunqilee69

Bug description
Zhipu AI model fails to retrieve usage info from ChatResponse upon chat completion

Environment
Spring AI: 1.1.0

Minimal Complete Reproducible example
When invoking the Zhipu chatModel class directly via its call() or stream() methods, the usage information is unavailable in the returned response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions