Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

Add Google Cloud AI Platform support to LiteLLM deps

Dane Schneiderd4c30053808a
diff --git a/app/scripts/litellm_deps.sh b/app/scripts/litellm_deps.sh
index 6d4c4eb9..bcc70057 100755
--- a/app/scripts/litellm_deps.sh
+++ b/app/scripts/litellm_deps.sh
@@ -5,7 +5,7 @@ set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VENV_DIR="$SCRIPT_DIR/../litellm-venv"
REQUIRED_PYTHON="python3"
-REQUIRED_PACKAGES=("litellm==1.61.1" "fastapi==0.115.12" "uvicorn==0.34.1")
+REQUIRED_PACKAGES=("litellm==1.61.1" "fastapi==0.115.12" "uvicorn==0.34.1" "google-cloud-aiplatform==1.96.0")
if ! command -v "$REQUIRED_PYTHON" &>/dev/null; then
echo "Python3 not found. Please install it and run this script again."
diff --git a/app/server/Dockerfile b/app/server/Dockerfile
index 8d297e0f..bf7f4914 100644
--- a/app/server/Dockerfile
+++ b/app/server/Dockerfile
@@ -12,7 +12,7 @@ RUN apt-get install -y python3 python3-venv && \
ENV PATH="/opt/venv/bin:$PATH"
# Now install litellm passthrough dependencies in the virtual environment
-RUN pip install --no-cache-dir "litellm==1.61.1" "fastapi==0.115.12" "uvicorn==0.34.1"
+RUN pip install --no-cache-dir "litellm==1.61.1" "fastapi==0.115.12" "uvicorn==0.34.1" "google-cloud-aiplatform==1.96.0"
WORKDIR /app