chore(install): include the legacy-encryption extra in scripts/install.sh

pynacl moved out of the proxy extra on this branch, but the in-repo
installer still installed plain litellm[proxy]: a fresh tool environment
rebuilt by install.sh could no longer read any previously stored nacl
credential (every stored secret read as unset). Add legacy-encryption to
both the PyPI and the git-ref install forms, matching the Dockerfiles.
This commit is contained in:
yucheng-berri 2026-10-14 22:16:38 -07:00
parent b8fc9df283
commit 7518972d4b

View file

@ -19,9 +19,9 @@ set -eu
# example, to QA lite autoroute against an unreleased branch, which needs this proxy
# runtime, not the thin litellm[cli] install).
if [ -n "${LITELLM_CLI_REF:-}" ]; then
LITELLM_PACKAGE="litellm[proxy] @ git+https://github.com/BerriAI/litellm.git@${LITELLM_CLI_REF}"
LITELLM_PACKAGE="litellm[proxy,legacy-encryption] @ git+https://github.com/BerriAI/litellm.git@${LITELLM_CLI_REF}"
else
LITELLM_PACKAGE="litellm[proxy]"
LITELLM_PACKAGE="litellm[proxy,legacy-encryption]"
fi
UV_VERSION="0.10.9"
@ -94,9 +94,9 @@ fi
# ── install ────────────────────────────────────────────────────────────────
echo ""
if [ -n "${LITELLM_CLI_REF:-}" ]; then
header "Installing litellm[proxy] from ${LITELLM_CLI_REF}…"
header "Installing litellm[proxy,legacy-encryption] from ${LITELLM_CLI_REF}…"
else
header "Installing litellm[proxy]…"
header "Installing litellm[proxy,legacy-encryption]…"
fi
echo ""