From c00f08237328de69ddccfe6b1f429aa46f81cfd8 Mon Sep 17 00:00:00 2001 From: Chandrasekharan M Date: Mon, 13 Jul 2026 14:06:41 +0530 Subject: [PATCH 1/2] [MISC] Bump litellm 1.85.1 -> 1.90.3 for MiniMax-M3 cost support 1.85.1 has no `minimax/MiniMax-M3` entry in litellm's cost map, so native MiniMax-M3 usage bills $0. 1.90.0 added the model with its long-context pricing tier (input/output/cache `_above_512k_tokens`), letting the standard litellm cost path price it correctly. 1.90.3 is the settled patch on that minor. No new dependency floors and no in-scope breaking changes to `completion`/`cost_per_token`/ `register_model`/`token_counter` between 1.85.1 and 1.90.3; the 1.90.0 `register_model` fix (preserves built-in cache pricing on override) is a bonus. Re-locked all consuming services so the running images pick up the new version rather than staying pinned at 1.85.1 transitively. Co-Authored-By: Claude Opus 4.8 (1M context) --- backend/uv.lock | 8 ++++---- platform-service/uv.lock | 8 ++++---- unstract/connectors/uv.lock | 8 ++++---- unstract/filesystem/uv.lock | 8 ++++---- unstract/sdk1/pyproject.toml | 2 +- unstract/sdk1/uv.lock | 8 ++++---- unstract/tool-registry/uv.lock | 8 ++++---- unstract/workflow-execution/uv.lock | 8 ++++---- uv.lock | 8 ++++---- workers/uv.lock | 8 ++++---- 10 files changed, 37 insertions(+), 37 deletions(-) diff --git a/backend/uv.lock b/backend/uv.lock index 20e5fc22da..36a8adfc06 100644 --- a/backend/uv.lock +++ b/backend/uv.lock @@ -1681,7 +1681,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1697,9 +1697,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -3953,7 +3953,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/platform-service/uv.lock b/platform-service/uv.lock index b904d7bc73..53346c3a7b 100644 --- a/platform-service/uv.lock +++ b/platform-service/uv.lock @@ -1102,7 +1102,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1118,9 +1118,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -2726,7 +2726,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/unstract/connectors/uv.lock b/unstract/connectors/uv.lock index 23da1b837c..f7a8f7725f 100644 --- a/unstract/connectors/uv.lock +++ b/unstract/connectors/uv.lock @@ -1237,7 +1237,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1253,9 +1253,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -2968,7 +2968,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/unstract/filesystem/uv.lock b/unstract/filesystem/uv.lock index e8d4525511..2a8cf37718 100644 --- a/unstract/filesystem/uv.lock +++ b/unstract/filesystem/uv.lock @@ -671,7 +671,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -687,9 +687,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -1866,7 +1866,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/unstract/sdk1/pyproject.toml b/unstract/sdk1/pyproject.toml index b11e153946..70b492f191 100644 --- a/unstract/sdk1/pyproject.toml +++ b/unstract/sdk1/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ "python-dotenv==1.2.2", # # Adapter changes "tiktoken~=0.12.0", - "litellm==1.85.1", + "litellm==1.90.3", "llama-index>=0.14.13", "llama-index-vector-stores-postgres>=0.7.3", "llama-index-vector-stores-milvus>=0.9.6", diff --git a/unstract/sdk1/uv.lock b/unstract/sdk1/uv.lock index a482fe5b95..5bbecf8c59 100644 --- a/unstract/sdk1/uv.lock +++ b/unstract/sdk1/uv.lock @@ -1103,7 +1103,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1119,9 +1119,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -2785,7 +2785,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/unstract/tool-registry/uv.lock b/unstract/tool-registry/uv.lock index 5bedd8ce5b..84fa292120 100644 --- a/unstract/tool-registry/uv.lock +++ b/unstract/tool-registry/uv.lock @@ -726,7 +726,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -742,9 +742,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -1927,7 +1927,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/unstract/workflow-execution/uv.lock b/unstract/workflow-execution/uv.lock index caa75e7238..8a067e6308 100644 --- a/unstract/workflow-execution/uv.lock +++ b/unstract/workflow-execution/uv.lock @@ -707,7 +707,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -723,9 +723,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -1938,7 +1938,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/uv.lock b/uv.lock index b4a38a31e0..5468c42bda 100644 --- a/uv.lock +++ b/uv.lock @@ -1524,7 +1524,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1540,9 +1540,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -3826,7 +3826,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, diff --git a/workers/uv.lock b/workers/uv.lock index d4f3b24046..b6cb6bbf66 100644 --- a/workers/uv.lock +++ b/workers/uv.lock @@ -2038,7 +2038,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.85.1" +version = "1.90.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -2054,9 +2054,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/da/55/aebffceaa08688a989e9c68b3edc3a520a1f8338eb0346668774bd66ad88/litellm-1.85.1.tar.gz", hash = "sha256:3b8ef0c89ff2736cbd27109f17ff31f1bd0ab59dee9be8cadb28ec3cb167ce0d", size = 15346324, upload-time = "2026-05-21T02:30:38.185Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/c8/18d0c831d97ef6e7a971e1e984aa0a07740adb3f343e4596f21a5e880840/litellm-1.90.3.tar.gz", hash = "sha256:1b15776011745ea4f90259d9bd2f269835a8541cd7948751bec726b1d21647fa", size = 14820738, upload-time = "2026-07-03T19:53:20.112Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/17/a0/263a13c2253201aa11563a69d9a87f3510030aa765a16f57fc40ceefcdf5/litellm-1.85.1-py3-none-any.whl", hash = "sha256:c89eb5dfd18cce3d40b59e79c74f7f645bc7814a417c6ab25e53c786f0a6ab7b", size = 16980080, upload-time = "2026-05-21T02:30:35.096Z" }, + { url = "https://files.pythonhosted.org/packages/c5/ad/b40e8a29ec9b4564c5fd96829c4b22512c24ca76045304b1b521d6ea68c1/litellm-1.90.3-py3-none-any.whl", hash = "sha256:0ba6844865c0637719b3e76f43cf1089e3bd578a456b7be6a7f64afbbc259472", size = 16613824, upload-time = "2026-07-03T19:53:17.393Z" }, ] [[package]] @@ -4817,7 +4817,7 @@ requires-dist = [ { name = "gcsfs", marker = "extra == 'gcs'", specifier = "~=2024.10.0" }, { name = "httpx", specifier = ">=0.25.2" }, { name = "jsonschema" }, - { name = "litellm", specifier = "==1.85.1" }, + { name = "litellm", specifier = "==1.90.3" }, { name = "llama-index", specifier = ">=0.14.13" }, { name = "llama-index-vector-stores-milvus", specifier = ">=0.9.6" }, { name = "llama-index-vector-stores-pinecone", specifier = ">=0.7.1" }, From 9a0100cd550595a8a08b962a3c3c564408dc6dc9 Mon Sep 17 00:00:00 2001 From: Chandrasekharan M Date: Mon, 13 Jul 2026 21:08:40 +0530 Subject: [PATCH 2/2] [MISC] Repoint cohere-embed timeout patch to litellm 1.90.3 The patch is version-guarded to the exact litellm pin; the 1.85.1 -> 1.90.3 bump left it skipped, so `_patched_async_embedding` was never defined and its test failed to import. The bug is still present in 1.90.3 (cohere `async_embedding`/`embedding` still don't forward `timeout` to `client.post()`) and the copied bodies still match upstream, so only the version constant needed updating. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/unstract/sdk1/patches/litellm_cohere_timeout.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unstract/sdk1/src/unstract/sdk1/patches/litellm_cohere_timeout.py b/unstract/sdk1/src/unstract/sdk1/patches/litellm_cohere_timeout.py index bcbfc97dc3..590445bb8e 100644 --- a/unstract/sdk1/src/unstract/sdk1/patches/litellm_cohere_timeout.py +++ b/unstract/sdk1/src/unstract/sdk1/patches/litellm_cohere_timeout.py @@ -29,10 +29,10 @@ # Only apply the patch on the exact litellm version it was written for. # Any other version (newer or older) skips the patch with a visible # warning so engineers know to verify compatibility. -# Verified against litellm 1.85.1: async_embedding() at -# litellm/llms/cohere/embed/handler.py still does not forward `timeout` -# to client.post() when a pre-constructed client is passed in (the bug). -_PATCHED_LITELLM_VERSION = "1.85.1" +# Verified against litellm 1.90.3: async_embedding() and embedding() at +# litellm/llms/cohere/embed/handler.py still do not forward `timeout` +# to client.post() (the bug); the copied bodies below still match upstream. +_PATCHED_LITELLM_VERSION = "1.90.3" _litellm_version = importlib.metadata.version("litellm") _SKIP_PATCH = Version(_litellm_version) != Version(_PATCHED_LITELLM_VERSION) if _SKIP_PATCH: