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
build: run new build
Krrish Dholakia7d0e1f05acb4
diff --git a/litellm/main.py b/litellm/main.pyindex 3b4a994130e..01804a07115 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -554,7 +554,6 @@ def mock_completion(Raises:Exception: If an error occurs during the generation of the mock completion response.-Note:- This function is intended for testing or debugging purposes to generate mock completion responses.- If 'stream' is True, it returns a response that mimics the behavior of a streaming completion.