Relax LiteLLM version constraint (#1201)

* chore: relax litellm version constraint

* chore: cap litellm constraint to 1.x
This commit is contained in:
mumu
2026-05-05 22:49:21 +08:00
committed by GitHub
parent 69ef561956
commit 88d8ffbf81
8 changed files with 21 additions and 20 deletions

View File

@@ -30,9 +30,8 @@ numpy>=1.24.0 # 数值计算
json-repair>=0.55.1 # JSON 修复
# AI 分析
# Restore official PyPI install after the quarantined 1.82.7 / 1.82.8 builds were removed.
# Keep the historical minimum version and add a safe upper bound.
litellm>=1.80.10,<1.82.7 # Unified LLM client (Gemini/Anthropic/OpenAI/DeepSeek etc.)
# Keep the historical minimum version while excluding quarantined builds and avoiding future major breaks.
litellm>=1.80.10,!=1.82.7,!=1.82.8,<2.0.0 # Unified LLM client (Gemini/Anthropic/OpenAI/DeepSeek etc.)
tiktoken>=0.8.0,<0.12.0 # BPE tokenizer for LLM token counting (pin <0.12 to avoid plugin registration issues, #537)
openai>=1.0.0 # OpenAI SDK (transitive dependency of litellm, kept explicit)
PyYAML>=6.0 # YAML parser for LITELLM_CONFIG support