Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(classic): cap litellm below compromised 1.82.7 (#13423)

Krzysztof Czerwinskif7a548a25a55
diff --git a/classic/poetry.lock b/classic/poetry.lock
index 36f3ccdfc0..80f829e509 100644
--- a/classic/poetry.lock
+++ b/classic/poetry.lock
@@ -1,4 +1,4 @@
-# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand.
+# This file is automatically @generated by Poetry 2.3.4 and should not be changed by hand.
[[package]]
name = "aiohappyeyeballs"
@@ -482,7 +482,7 @@ description = "The Blis BLAS-like linear algebra library, as a self-contained C-
optional = false
python-versions = "<3.15,>=3.9"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "blis-1.3.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:650f1d2b28e3c875927c63deebda463a6f9d237dff30e445bfe2127718c1a344"},
{file = "blis-1.3.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9b0d42420ddd543eec51ccb99d38364a0c0833b6895eced37127822de6ecacff"},
@@ -1533,6 +1533,7 @@ files = [
{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
]
+markers = {benchmarks = "platform_system == \"Windows\"", dev = "platform_system == \"Windows\" or sys_platform == \"win32\""}
[[package]]
name = "coloredlogs"
@@ -1809,7 +1810,7 @@ description = "Manage calls to calloc/free through Cython"
optional = false
python-versions = "<3.15,>=3.9"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "cymem-2.0.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8efc4f308169237aade0e82877a65a563833dec32eb7ab2326120253e0e9e918"},
{file = "cymem-2.0.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e03bb575a96c59bc210d7d59862747f0012696b0dac3427ce8af33c7afb3d4a2"},
@@ -2511,7 +2512,7 @@ google-auth = ">=2.14.1,<3.0.0"
googleapis-common-protos = ">=1.56.2,<2.0.0"
grpcio = [
{version = ">=1.75.1,<2.0.0", optional = true, markers = "python_version >= \"3.14\" and extra == \"grpc\""},
- {version = ">=1.49.1,<2.0.0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""},
+ {version = ">=1.49.1,<2.0.0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\" and python_version < \"3.14\""},
]
grpcio-status = [
{version = ">=1.75.1,<2.0.0", optional = true, markers = "python_version >= \"3.14\" and extra == \"grpc\""},
@@ -2626,7 +2627,7 @@ google-api-core = {version = ">=1.34.1,<2.0.dev0 || >=2.11.dev0,<3.0.0", extras
google-auth = ">=2.14.1,<2.24.0 || >2.24.0,<2.25.0 || >2.25.0,<3.0.0"
grpcio = [
{version = ">=1.75.1,<2.0.0", markers = "python_version >= \"3.14\""},
- {version = ">=1.33.2,<2.0.0", markers = "python_version < \"3.14\""},
+ {version = ">=1.33.2,<2.0.0"},
]
proto-plus = [
{version = ">=1.25.0,<2.0.0", markers = "python_version >= \"3.13\""},
@@ -2708,15 +2709,15 @@ files = [
]
[package.dependencies]
-google-api-core = ">=2.15.0,<3.0.0dev"
-google-auth = ">=2.26.1,<3.0dev"
-google-cloud-core = ">=2.3.0,<3.0dev"
-google-crc32c = ">=1.0,<2.0dev"
+google-api-core = ">=2.15.0,<3.0.0.dev0"
+google-auth = ">=2.26.1,<3.0.dev0"
+google-cloud-core = ">=2.3.0,<3.0.dev0"
+google-crc32c = ">=1.0,<2.0.dev0"
google-resumable-media = ">=2.7.2"
-requests = ">=2.18.0,<3.0.0dev"
+requests = ">=2.18.0,<3.0.0.dev0"
[package.extras]
-protobuf = ["protobuf (<6.0.0dev)"]
+protobuf = ["protobuf (<6.0.0.dev0)"]
tracing = ["opentelemetry-api (>=1.1.0)"]
[[package]]
@@ -3537,7 +3538,7 @@ files = [
[package.dependencies]
attrs = ">=22.2.0"
-jsonschema-specifications = ">=2023.03.6"
+jsonschema-specifications = ">=2023.3.6"
referencing = ">=0.28.4"
rpds-py = ">=0.25.0"
@@ -3588,7 +3589,7 @@ files = [
]
[package.dependencies]
-certifi = ">=14.05.14"
+certifi = ">=14.5.14"
durationpy = ">=0.7"
python-dateutil = ">=2.5.3"
pyyaml = ">=5.4.1"
@@ -4441,7 +4442,7 @@ description = "Cython bindings for MurmurHash"
optional = false
python-versions = "<3.15,>=3.6"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "murmurhash-1.0.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f4989c16053a9a83b02c520dd00a31f0877d5fd2ab8a9b6b75ed9eba0e25c489"},
{file = "murmurhash-1.0.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:899068ba3d7c371e7edd093852c634cce802fefd9aaddfcc0d2fda1d7433c7f9"},
@@ -4609,7 +4610,7 @@ description = "Fundamental package for array computing in Python"
optional = false
python-versions = ">=3.11"
groups = ["main", "benchmarks"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "numpy-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0cce2a669e3c8ba02ee563c7835f92c153cf02edff1ae05e1823f1dde21b16a5"},
{file = "numpy-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:899d2c18024984814ac7e83f8f49d8e8180e2fbe1b2e252f2e7f1d06bea92425"},
@@ -5407,7 +5408,7 @@ description = "Cython hash table that trusts the keys are pre-hashed"
optional = false
python-versions = "<3.15,>=3.6"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "preshed-3.0.12-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d8f0bc207bb5bfe69e3a232367c264cac900dc14e9219cd061b98eaca9e7da61"},
{file = "preshed-3.0.12-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0c8a8d571c044ddab5369d30d172c87545f44daa1510bde92b7e0144a8f4f92b"},
@@ -7040,10 +7041,10 @@ files = [
]
[package.dependencies]
-botocore = ">=1.37.4,<2.0a.0"
+botocore = ">=1.37.4,<2.0a0"
[package.extras]
-crt = ["botocore[crt] (>=1.37.4,<2.0a.0)"]
+crt = ["botocore[crt] (>=1.37.4,<2.0a0)"]
[[package]]
name = "sentry-sdk"
@@ -7294,7 +7295,7 @@ description = "Industrial-strength Natural Language Processing (NLP) in Python"
optional = false
python-versions = "<3.15,>=3.9"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "spacy-3.8.11-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f9cc7f775cfc41ccb8be63bd6258a1ec4613d4ad3859f2ba2c079f34240b21f6"},
{file = "spacy-3.8.11-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:be9d665be8581926fba4303543ba189d34e8517803052551b000cf1a1af33b87"},
@@ -7555,7 +7556,7 @@ description = "Modern high-performance serialization utilities for Python"
optional = false
python-versions = "<3.15,>=3.9"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "srsly-2.5.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5491fe0683da900cd0c563538510c70a007380e1f6b29ebbb5225e7590981e2a"},
{file = "srsly-2.5.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7375c2955935b73a6cad3851fe819c2f4ec506504afe7ca92b917555e6850fae"},
@@ -7743,7 +7744,7 @@ description = "A refreshing functional take on deep learning, compatible with yo
optional = false
python-versions = "<3.15,>=3.10"
groups = ["main"]
-markers = "python_version <= \"3.13\""
+markers = "python_version < \"3.14\""
files = [
{file = "thinc-8.3.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:fbe0313cb3c898f4e6a3f13b704af51f4bf8f927078deb0fe2d6eaf3c6c5b31b"},
{file = "thinc-8.3.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:892ac91cf7cc8d3ac9a4527c68ead37a96e87132c9f589de56b057b50358e895"},
@@ -9158,4 +9159,4 @@ type = ["pytest-mypy"]
[metadata]
lock-version = "2.1"
python-versions = "^3.12"
-content-hash = "5532f5315e2b78cf591e5882865cf8871d8cd1a036068614387f8066a68fe449"
+content-hash = "b37a1c32965ffa21b2a6e7fa488fad9782899d7232ef3a618a2670846fcaf2b4"
diff --git a/classic/pyproject.toml b/classic/pyproject.toml
index df84264043..d20d9353ba 100644
--- a/classic/pyproject.toml
+++ b/classic/pyproject.toml
@@ -45,7 +45,7 @@ trafilatura = "^2.0"
# LLM providers
anthropic = "^0.45.0"
groq = "^0.8.0"
-litellm = "^1.17.9"
+litellm = ">=1.17.9,<1.82.7"
openai = "^1.50.0"
tiktoken = ">=0.7.0,<1.0.0"