Skip to content

Commit 53bcc95

Browse files
author
Sebastian Braun
committed
fix(deps): bump litellm to 1.98.0 (1.87.2 yanked from PyPI)
litellm==1.87.2 no longer exists on PyPI, breaking fresh installs of openkb (#238). Bumps to 1.98.0, the latest stable release, which still satisfies the existing openai==2.44.0 pin (litellm 1.98.0 requires openai>=2.20.0,<3.0.0). Verified: full pytest suite passes with identical results to the 1.87.2 baseline (1231 passed, 18 pre-existing unrelated Windows path-separator failures). ruff/mypy clean. Smoke-tested the actual compiler._llm_call/_llm_call_async code paths (sync + async streaming, 20 concurrent calls) against the real Anthropic endpoint to confirm the litellm.completion/acompletion/stream_chunk_builder API surface compiler.py depends on is unchanged. Resolves #238
1 parent ff54396 commit 53bcc95

2 files changed

Lines changed: 198 additions & 121 deletions

File tree

‎pyproject.toml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,19 @@ keywords = ["ai", "rag", "retrieval", "knowledge-base", "llm", "pageindex", "age
2828
# All dependencies are pinned exactly (supply-chain caution — e.g. the
2929
# litellm package-poisoning incident). Bump deliberately after vetting
3030
# each release.
31-
# litellm 1.87.2 fixes the chatgpt/* (ChatGPT subscription) provider
32-
# returning empty Responses output (BerriAI/litellm#25429) and
33-
# auto-injects GitHub Copilot IDE-auth headers.
31+
# litellm 1.87.2 was yanked from PyPI (no longer installable — see #238),
32+
# so this pins to 1.98.0, the latest stable release at the time of the
33+
# bump. Verified against openai-agents 0.17.3 / openai 2.44.0 below:
34+
# litellm 1.98.0 requires openai>=2.20.0,<3.0.0, so the existing
35+
# openai==2.44.0 pin (kept below 2.45 for openai-agents 0.17.3
36+
# compatibility, see #187) remains satisfied.
3437
dependencies = [
3538
"pageindex==0.3.0.dev3",
3639
"markitdown[docx,pptx,xlsx,xls]==0.1.5",
3740
"trafilatura==2.0.0",
3841
"click==8.4.0",
3942
"watchdog==6.0.0",
40-
"litellm==1.87.2",
43+
"litellm==1.98.0",
4144
"openai-agents==0.17.3",
4245
# openai 2.45.0 added a required `cache_write_tokens` field to
4346
# InputTokensDetails that openai-agents 0.17.3 does not set, crashing

0 commit comments

Comments
 (0)