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
Merge pull request #36447 from BerriAI/litellm_anthropic_fast_mode_speed_usage
Mateo Wang23b805d5a430
diff --cc litellm/proxy/pass_through_endpoints/llm_provider_handlers/anthropic_passthrough_logging_handler.pyindex d0ca61e1fd1,1d8054e6cd3..3f8201817c7--- a/litellm/proxy/pass_through_endpoints/llm_provider_handlers/anthropic_passthrough_logging_handler.py+++ b/litellm/proxy/pass_through_endpoints/llm_provider_handlers/anthropic_passthrough_logging_handler.py@@@ -1,6 -1,5 +1,6 @@@+import asyncioimport json- from collections.abc import Sequence+ from collections.abc import Mapping, Sequencefrom datetime import datetimefrom typing import TYPE_CHECKING, Any, Final, cast