Skip to content

Token usage lost in OpenAI streaming + cached tokens #219

Open

Description

@jriveromuniz

Is there an existing issue for this?

  • I confirm that I have not found an existing or similar issue.

Problem (why)

Token usage in OpenAI streaming shouldn't lost and the cached tokens should be captured and registered in DB.

Impact (who)

This change makes the user view the token usage of streaming calls and retrieve cached tokens.

Existing

No response

Requirements (what)

No response

Activity

  1. jriveromuniz commented on Nov 13, 2025

    @jriveromuniz
    Author

    Linked issue - SEMOSS/Semoss#1654

    PR - #220

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions