We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77030b commit 93e26d6Copy full SHA for 93e26d6
pydantic_ai_slim/pydantic_ai/models/google.py
@@ -590,7 +590,7 @@ def _metadata_as_usage(response: GenerateContentResponse) -> usage.Usage:
590
details['thoughts_tokens'] = thoughts_token_count
591
592
if tool_use_prompt_token_count := metadata.get('tool_use_prompt_token_count'):
593
- details['tool_use_prompt_tokens'] = tool_use_prompt_token_count # pragma: no cover
+ details['tool_use_prompt_tokens'] = tool_use_prompt_token_count
594
595
for key, metadata_details in metadata.items():
596
if key.endswith('_details') and metadata_details:
0 commit comments