Spaces:
Running
Running
Commit
·
5068f9a
1
Parent(s):
586a3f1
fix: add LangGraph deps to requirements.txt for HuggingFace Spaces
Browse filesHuggingFace Spaces uses requirements.txt, not pyproject.toml.
Missing langchain-core caused "No module named 'langchain_core'" error.
Added:
- langgraph, langchain, langchain-core, langchain-huggingface
- langgraph-checkpoint-sqlite>=3.0.0 (security fix)
- urllib3>=2.5.0 (security fix)
- huggingface-hub
- requirements.txt +11 -6
requirements.txt
CHANGED
|
@@ -6,10 +6,18 @@ pydantic-ai>=0.0.16
|
|
| 6 |
# AI Providers
|
| 7 |
openai>=1.0.0
|
| 8 |
anthropic>=0.18.0
|
|
|
|
| 9 |
|
| 10 |
# Multi-agent orchestration (Advanced mode)
|
| 11 |
agent-framework-core>=1.0.0b251120
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# Web search
|
| 14 |
duckduckgo-search>=5.0
|
| 15 |
|
|
@@ -26,15 +34,12 @@ python-dotenv>=1.0
|
|
| 26 |
tenacity>=8.2
|
| 27 |
structlog>=24.1
|
| 28 |
requests>=2.32.5
|
| 29 |
-
limits>=3.0
|
|
|
|
| 30 |
|
| 31 |
# Optional: Modal for code execution
|
| 32 |
modal>=0.63.0
|
| 33 |
|
| 34 |
-
# Optional:
|
| 35 |
-
llama-index>=0.11.0
|
| 36 |
-
llama-index-llms-openai
|
| 37 |
-
llama-index-embeddings-openai
|
| 38 |
-
llama-index-vector-stores-chroma
|
| 39 |
chromadb>=0.4.0
|
| 40 |
sentence-transformers>=2.2.0
|
|
|
|
| 6 |
# AI Providers
|
| 7 |
openai>=1.0.0
|
| 8 |
anthropic>=0.18.0
|
| 9 |
+
huggingface-hub>=0.20.0
|
| 10 |
|
| 11 |
# Multi-agent orchestration (Advanced mode)
|
| 12 |
agent-framework-core>=1.0.0b251120
|
| 13 |
|
| 14 |
+
# LangGraph dependencies (SPEC-07/08)
|
| 15 |
+
langgraph>=0.2.50,<1.0
|
| 16 |
+
langchain>=0.3.9,<1.0
|
| 17 |
+
langchain-core>=0.3.21,<1.0
|
| 18 |
+
langchain-huggingface>=0.1.2,<1.0
|
| 19 |
+
langgraph-checkpoint-sqlite>=3.0.0,<4.0
|
| 20 |
+
|
| 21 |
# Web search
|
| 22 |
duckduckgo-search>=5.0
|
| 23 |
|
|
|
|
| 34 |
tenacity>=8.2
|
| 35 |
structlog>=24.1
|
| 36 |
requests>=2.32.5
|
| 37 |
+
limits>=3.0
|
| 38 |
+
urllib3>=2.5.0 # Security fix for GHSA-48p4-8xcf-vxj5
|
| 39 |
|
| 40 |
# Optional: Modal for code execution
|
| 41 |
modal>=0.63.0
|
| 42 |
|
| 43 |
+
# Optional: Embeddings & Vector Store
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
chromadb>=0.4.0
|
| 45 |
sentence-transformers>=2.2.0
|