Skip to content

Commit 59a9189

Browse files
authored
chore: Remove 'text' from RunUsage docstrings (#2919)
1 parent ccd5e6a commit 59a9189

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_ai_slim/pydantic_ai/usage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class RunUsage(UsageBase):
135135
"""Number of successful tool calls executed during the run."""
136136

137137
input_tokens: int = 0
138-
"""Total number of text input/prompt tokens."""
138+
"""Total number of input/prompt tokens."""
139139

140140
cache_write_tokens: int = 0
141141
"""Total number of tokens written to the cache."""
@@ -150,7 +150,7 @@ class RunUsage(UsageBase):
150150
"""Total number of audio tokens read from the cache."""
151151

152152
output_tokens: int = 0
153-
"""Total number of text output/completion tokens."""
153+
"""Total number of output/completion tokens."""
154154

155155
details: dict[str, int] = dataclasses.field(default_factory=dict)
156156
"""Any extra details returned by the model."""

0 commit comments

Comments
 (0)