Skip to content

Commit 93e26d6

Browse files
committed
drop pragma
1 parent a77030b commit 93e26d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def _metadata_as_usage(response: GenerateContentResponse) -> usage.Usage:
590590
details['thoughts_tokens'] = thoughts_token_count
591591

592592
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
593+
details['tool_use_prompt_tokens'] = tool_use_prompt_token_count
594594

595595
for key, metadata_details in metadata.items():
596596
if key.endswith('_details') and metadata_details:

0 commit comments

Comments
 (0)