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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
chore: merge origin/main into test cleanup
kerry357e0fca8ebe
diff --cc tests/test_litellm/test_utils.pyindex 3a376ac9397,6b872ccc26c..4de77f895ca--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@@ -17,8 -17,12 +17,11 @@@ import pytesimport respxfrom jsonschema import validate-import litellmfrom litellm._internal_context import is_internal_call+ from litellm.caching.caching import Cache+ from litellm.caching.caching_handler import _PENDING_CACHE_WRITES+ from litellm.constants import DEFAULT_MOCK_RESPONSE_COMPLETION_TOKEN_COUNTfrom litellm._logging import (CorrelationContextFilter,JsonFormatter,@@@ -31,7 -34,7 +33,8 @@@ from litellm.integrations.custom_loggefrom litellm.litellm_core_utils.get_litellm_params import get_litellm_paramsfrom litellm.litellm_core_utils.thread_pool_executor import executor as logging_executorfrom litellm.proxy.utils import is_valid_api_key+from litellm.types.router import CredentialLiteLLMParams, GenericLiteLLMParams+ from litellm.types.integrations.custom_logger import HEADROOM_CONVERTED_STREAM_KEYfrom litellm.types.utils import (CallTypes,Delta,@@@ -40,10 -43,11 +43,11 @@@PromptTokensDetailsWrapper,StreamingChoices,Usage,+ all_litellm_params,+ bedrock_batch_litellm_params,)-from litellm.types.utils import all_litellm_params, bedrock_batch_litellm_params-from litellm.types.router import CredentialLiteLLMParams, GenericLiteLLMParamsfrom litellm.utils import (+ CustomStreamWrapper,ProviderConfigManager,TextCompletionStreamWrapper,_check_provider_match,