Skip to content

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

fix: pin litellm to safe fork (v1.81.13) due to PyPI supply chain compromise

unclecode01c685cd3a5e
diff --git a/pyproject.toml b/pyproject.toml
index 6b44d075..5a30a9ed 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,7 @@ dependencies = [
"aiosqlite~=0.20",
"anyio>=4.0.0",
"lxml~=5.3",
- "litellm>=1.53.1",
+ "litellm @ git+https://github.com/unclecode/[email protected]",
"numpy>=1.26.0,<3",
"pillow>=10.4",
"playwright>=1.49.0",
diff --git a/requirements.txt b/requirements.txt
index c2b235d7..9f8b77ec 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,7 @@ aiohttp>=3.11.11
aiosqlite~=0.20
anyio>=4.0.0
lxml~=5.3
-litellm>=1.53.1
+litellm @ git+https://github.com/unclecode/[email protected]
numpy>=1.26.0,<3
pillow>=10.4
playwright>=1.49.0