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
[Bug Fix] Fixes for using Auto Router with LiteLLM Docker Image (#13788)
Ishaan Jaffa328ad56e329
diff --git a/Dockerfile b/Dockerfileindex 9261d55d7fe..addc109e10c 100644--- a/Dockerfile+++ b/Dockerfile@@ -65,8 +65,8 @@ COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only fileRUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels-# Install semantic_router without dependencies-RUN pip install semantic_router --no-deps+# Install semantic_router and aurelio-sdk using script+RUN chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh# Generate prisma clientRUN prisma generatediff --git a/docker/Dockerfile.database b/docker/Dockerfile.databaseindex 956ec76dbe7..351c4f6bc48 100644--- a/docker/Dockerfile.database+++ b/docker/Dockerfile.database@@ -57,8 +57,8 @@ COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only fileRUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels-# Install semantic_router without dependencies-RUN pip install semantic_router --no-deps+# Install semantic_router and aurelio-sdk using script+RUN chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh# ensure pyjwt is used, not jwtRUN pip uninstall jwt -ydiff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_rootindex 388dc6d0766..c24c82b2898 100644--- a/docker/Dockerfile.non_root+++ b/docker/Dockerfile.non_root@@ -47,8 +47,8 @@ RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ \&& rm -f *.whl \&& rm -rf /wheels-# Install semantic_router without dependencies-RUN pip install semantic_router --no-deps+# Install semantic_router and aurelio-sdk using script+RUN chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh# Ensure correct JWT library is used (pyjwt not jwt)RUN pip uninstall jwt -y && \diff --git a/docker/install_auto_router.sh b/docker/install_auto_router.shnew file mode 100755index 00000000000..794f9a2bbce--- /dev/null+++ b/docker/install_auto_router.sh@@ -0,0 +1,3 @@+#!/bin/bash+pip install semantic_router==0.1.11 --no-deps+pip install aurelio-sdk==0.0.19\ No newline at end of file