Skip to content

Commit fee4460

Browse files
committed
fix(deps): pin all dependencies to exact versions; bump litellm to 1.87.2
litellm 1.87.2 fixes the chatgpt/* (ChatGPT subscription) provider returning empty Responses output (BerriAI/litellm#25429) and auto-injects GitHub Copilot IDE-auth headers in the chat path (BerriAI/litellm#20113). All direct dependencies are now pinned exactly as a supply-chain precaution (cf. the litellm package-poisoning incident) — the README already claimed litellm was pinned to a safe version, but pyproject carried no constraint at all. Versions match what uv.lock already resolved, so installed behavior is unchanged apart from litellm 1.85.0 -> 1.87.2. Refs #94
1 parent 261fab4 commit fee4460

2 files changed

Lines changed: 34 additions & 28 deletions

File tree

pyproject.toml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,25 @@ classifiers = [
2525
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2626
]
2727
keywords = ["ai", "rag", "retrieval", "knowledge-base", "llm", "pageindex", "agents", "document"]
28+
# All dependencies are pinned exactly (supply-chain caution — e.g. the
29+
# litellm package-poisoning incident). Bump deliberately after vetting
30+
# 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.
2834
dependencies = [
2935
"pageindex==0.3.0.dev1",
30-
"markitdown[docx,pptx,xlsx,xls]>=0.1.5",
31-
"trafilatura>=2.0",
32-
"click>=8.0",
33-
"watchdog>=3.0",
34-
"litellm",
35-
"openai-agents",
36-
"pyyaml",
37-
"python-dotenv",
38-
"json-repair",
39-
"prompt_toolkit>=3.0",
40-
"rich>=13.0",
36+
"markitdown[docx,pptx,xlsx,xls]==0.1.5",
37+
"trafilatura==2.0.0",
38+
"click==8.4.0",
39+
"watchdog==6.0.0",
40+
"litellm==1.87.2",
41+
"openai-agents==0.17.3",
42+
"pyyaml==6.0.3",
43+
"python-dotenv==1.2.2",
44+
"json-repair==0.59.10",
45+
"prompt_toolkit==3.0.52",
46+
"rich==15.0.0",
4147
]
4248

4349
[project.urls]
@@ -52,7 +58,7 @@ openkb = "openkb.cli:cli"
5258
testpaths = ["tests"]
5359

5460
[project.optional-dependencies]
55-
dev = ["pytest", "pytest-asyncio"]
61+
dev = ["pytest==9.0.3", "pytest-asyncio==1.3.0"]
5662

5763
[tool.hatch.version]
5864
source = "vcs"

uv.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)