mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
fix - using on python 3.9
This commit is contained in:
parent
27849359a9
commit
a83f8f3de6
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ class StandardBuiltInToolCostTracking:
|
|||
)
|
||||
|
||||
@staticmethod
|
||||
def _extract_token_counts(computer_use_usage: Any) -> tuple[Optional[int], Optional[int]]:
|
||||
def _extract_token_counts(computer_use_usage: Any) -> Tuple[Optional[int], Optional[int]]:
|
||||
"""Extract and convert token counts safely."""
|
||||
input_tokens = None
|
||||
output_tokens = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue