From 8d1edd5d65c462c3daecbd890336a4e3a3d15874 Mon Sep 17 00:00:00 2001 From: iris-clawd Date: Tue, 24 Mar 2026 09:38:12 -0700 Subject: [PATCH] fix: pin litellm upper bound to last tested version (1.82.6) (#5044) The litellm optional dependency had a wide upper bound (<3) that allowed any future litellm release to be installed automatically. This means breaking changes in new litellm versions could affect customers immediately. Pins the upper bound to <=1.82.6 (current latest known-good version). When newer litellm versions are tested and validated, bump this bound explicitly. --- lib/crewai/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crewai/pyproject.toml b/lib/crewai/pyproject.toml index 9c4b78ec5..8fc69adf6 100644 --- a/lib/crewai/pyproject.toml +++ b/lib/crewai/pyproject.toml @@ -83,7 +83,7 @@ voyageai = [ "voyageai~=0.3.5", ] litellm = [ - "litellm>=1.74.9,<3", + "litellm>=1.74.9,<=1.82.6", ] bedrock = [ "boto3~=1.40.45",