mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
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:
parent
b8fc9df283
commit
7518972d4b
1 changed files with 4 additions and 4 deletions
|
|
@ -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 ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue