Skip to content

Verify total token usage reported matches between streaming and non-streaming responses #142

@kzu

Description

@kzu

It doesn't need to match 100%, but in a multi-turn conversation (say, 3 messages exchanged), the reported token usage should be roughly equivalent (within, say, a 20% delta). It seems something is off right now, so add an integration test that verifies this.

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions