Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore: merge origin/main into test cleanup

kerryba6bcd747fd6
diff --cc tests/test_litellm/test_cost_calculator.py
index 9da7906ca23,d4a7018a642..7b53d3a58df
--- a/tests/test_litellm/test_cost_calculator.py
+++ b/tests/test_litellm/test_cost_calculator.py
@@@ -1,3 -1,5 +1,4 @@@
-
+ import time
from typing import Final
import pytest
@@@ -15,9 -19,12 +17,11 @@@ from litellm.cost_calculator import
from litellm.litellm_core_utils.litellm_logging import Logging
from litellm.llms.base_llm.ocr.transformation import OCRPage, OCRResponse, OCRUsageInfo
from litellm.types.llms.base import CachedTokensDetails
- from litellm.types.llms.openai import OpenAIRealtimeStreamList
+ from litellm.types.llms.openai import OpenAIRealtimeStreamList, ResponseAPIUsage, ResponsesAPIResponse
from litellm.types.rerank import RerankResponse
from litellm.types.utils import (
- CacheCreationTokenDetails,
+ CallTypes,
+ LiteLLMRealtimeStreamLoggingObject,
ModelInfo,
ModelResponse,
PromptTokensDetailsWrapper,