Skip to content

Report end-turn token usage #171

Description

@danielkov

Set Usage on v1 PromptResponse.usage and on the v2 idle state_update.usage (unstable_end_turn_token_usage) with total, input, output, thought, and cached token counts.

Part of #146.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions