Skip to content

Request to capture thinkingTokens in Google-GenAI Library #4424

@RyanHowell30

Description

@RyanHowell30

With the release of the new Google-GenAI library, it would be great if we could capture thinkingTokens in the Usage Interface.

Its supported in the gen-ai java library here

specifically here:

  /** Output only. Number of tokens present in thoughts output. */
  @JsonProperty("thoughtsTokenCount")
  public abstract Optional<Integer> thoughtsTokenCount();

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