From a079c0859417e678ce3cf3558d562f75c45161af Mon Sep 17 00:00:00 2001 From: Rene Arredondo <120709323+Rene0422@users.noreply.github.com> Date: Wed, 10 Jun 2026 20:40:07 -0700 Subject: [PATCH] =?UTF-8?q?fix(deps):=20exclude=20litellm=201.82.6=20(inte?= =?UTF-8?q?rnal=20ImportError)=20=E2=80=94=20#15916=20(#15920)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Fixes #15916. A fresh `docker compose -f docker-compose-macos.yml up -d` against v0.25.6 errors out on container start with --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f8b117d594..3f0f97f69e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,7 +155,11 @@ dependencies = [ # "xxhash>=3.5.0,<4.0.0", # "trio>=0.17.0,<0.29.0", # "click>=8.1.8", - "litellm~=1.82.0,!=1.82.7,!=1.82.8", + # 1.82.6 has an internal ImportError loading add_system_prompt_to_messages + # from litellm_core_utils.prompt_templates.common_utils, which breaks + # `import litellm` at module load and tanks the whole server (#15916). + # 1.82.7 / 1.82.8 were already excluded for security in #13768. + "litellm~=1.82.0,!=1.82.6,!=1.82.7,!=1.82.8", # "pip>=25.2", # "imageio-ffmpeg>=0.6.0", # "cryptography==46.0.3",