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
docker test fixes
Ishaan Jaffere7a32c1e8f40
diff --git a/tests/test_litellm/llms/docker_model_runner/test_docker_model_runner_chat_transformation.py b/tests/test_litellm/llms/docker_model_runner/test_docker_model_runner_chat_transformation.pyindex 9cd76c3ef6a..bcddb33dbb0 100644--- a/tests/test_litellm/llms/docker_model_runner/test_docker_model_runner_chat_transformation.py+++ b/tests/test_litellm/llms/docker_model_runner/test_docker_model_runner_chat_transformation.py@@ -24,8 +24,7 @@ from litellm import completionclass TestDockerModelRunnerIntegration:"""Integration test for Docker Model Runner"""- @pytest.mark.asyncio- async def test_completion_hits_correct_url_and_body(self):+ def test_completion_hits_correct_url_and_body(self):"""Test that litellm.completion with docker_model_runner provider:1. Hits the correct URL: {api_base}/v1/chat/completions where api_base includes engine path@@ -95,8 +94,7 @@ class TestDockerModelRunnerIntegration:# Verify responseassert response.choices[0].message.content == "Hello! How can I help you today?"- @pytest.mark.asyncio- async def test_completion_with_custom_engine_and_host(self):+ def test_completion_with_custom_engine_and_host(self):"""Test that litellm.completion works with custom engine and host:1. Uses model-runner.docker.internal as host