From 3998b47c84be98a90233ccfecc38ceccfb066b43 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 14 Mar 2026 11:34:11 -0700 Subject: [PATCH] fix(install.sh): install from git branch so --setup is available for QA --- scripts/install.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index cfcf530b89b..31a880bbbe6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,20 +1,14 @@ #!/usr/bin/env bash # LiteLLM Installer # Usage: curl -fsSL https://raw.githubusercontent.com/BerriAI/litellm/main/scripts/install.sh | sh -# Branch QA: LITELLM_BRANCH=worktree-dynamic-tickling-journal curl -fsSL .../install.sh | sh set -euo pipefail MIN_PYTHON_MAJOR=3 MIN_PYTHON_MINOR=9 -# If LITELLM_BRANCH is set, install from that git branch instead of PyPI. -# Used for testing PRs before they ship a release. -LITELLM_BRANCH="${LITELLM_BRANCH:-}" -if [ -n "$LITELLM_BRANCH" ]; then - LITELLM_PACKAGE="git+https://github.com/BerriAI/litellm.git@${LITELLM_BRANCH}#egg=litellm[proxy]" -else - LITELLM_PACKAGE="litellm[proxy]" -fi +# NOTE: set to "litellm[proxy]" before merging to main (once --setup ships in a PyPI release). +# On this branch we install from git so the installer gets the --setup flag. +LITELLM_PACKAGE="litellm[proxy] @ git+https://github.com/BerriAI/litellm.git@worktree-dynamic-tickling-journal" # ── colours ──────────────────────────────────────────────────────────────── if [ -t 1 ]; then