From d075f39622302178a5b17e0bb3e1203201ec0e2e Mon Sep 17 00:00:00 2001 From: sufubao Date: Tue, 4 Aug 2026 17:55:25 +0800 Subject: [PATCH] fix(api): raise litellm floor to 1.84.8 for tool_choice="none" Versions of litellm before 1.84.8 do not correctly handle tool_choice="none" in the prompt-building / anthropic adapter paths that lightllm relies on (api_openai.py, api_anthropic.py). Bump the lower bound from 1.52.0 to 1.84.8; the existing <1.85 upper bound is unchanged. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 180f9d3ced..d69146679d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -97,5 +97,5 @@ cupy-cuda13x==14.0.1 nixl==1.2.0 xformers==0.0.35 redis==7.3.0 -litellm>=1.52.0,<1.85 +litellm>=1.84.8,<1.85 torch_memory_saver==0.0.9.post1 \ No newline at end of file