diff --git a/litellm/litellm_core_utils/llm_cost_calc/tool_call_cost_tracking.py b/litellm/litellm_core_utils/llm_cost_calc/tool_call_cost_tracking.py index e7fa3454411..c5bfcaba0d5 100644 --- a/litellm/litellm_core_utils/llm_cost_calc/tool_call_cost_tracking.py +++ b/litellm/litellm_core_utils/llm_cost_calc/tool_call_cost_tracking.py @@ -3,7 +3,11 @@ Helper utilities for tracking the cost of built-in tools. """ from collections.abc import Mapping -from typing import Final, Literal, cast +from typing import ( + Final, + Literal, + cast, # noqa: TID251 # narrows SDK-union output items and dict fallbacks into typed views +) from pydantic import ValidationError