Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google/genai/_interactions/types/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Usage(BaseModel):
total_output_tokens: Optional[int] = None
"""Total number of tokens across all the generated responses."""

total_reasoning_tokens: Optional[int] = None
total_thought_tokens: Optional[int] = None
"""Number of tokens of thoughts for thinking models."""

total_tokens: Optional[int] = None
Expand Down
2 changes: 1 addition & 1 deletion google/genai/_interactions/types/usage_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class UsageParam(TypedDict, total=False):
total_output_tokens: int
"""Total number of tokens across all the generated responses."""

total_reasoning_tokens: int
total_thought_tokens: int
"""Number of tokens of thoughts for thinking models."""

total_tokens: int
Expand Down
Loading