Skip to content

Commit badffad

Browse files
committed
🔧 Fix dependency conflicts in requirements files
- Fixed langchain/langgraph version conflicts - Updated langchain from 0.3.7 to 0.2.16 for compatibility - Ensured all requirements files use compatible versions - This should resolve the deployment build errors
1 parent ff2a295 commit badffad

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

requirements-deploy.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ pdfplumber==0.10.3
2323
PyPDF2==3.0.1
2424
reportlab==4.0.7
2525

26-
# AI/ML dependencies
26+
# AI/ML dependencies - Compatible versions
2727
openai==1.0.0
2828
anthropic==0.34.2
29-
langchain==0.3.7
29+
langchain==0.2.16
3030
langgraph==0.2.16
3131
chromadb==0.4.24
3232
pydantic==2.5.0

requirements-nuclear.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ pypdf==4.0.1
1717
pdfplumber==0.10.3
1818
PyPDF2==3.0.1
1919

20-
# AI and ML
20+
# AI and ML - Compatible versions
2121
openai==1.3.0
22-
anthropic==0.7.0
23-
langchain==0.1.0
22+
anthropic==0.34.2
23+
langchain==0.2.16
24+
langgraph==0.2.16
2425
langchain-openai==0.0.5
2526
langchain-anthropic==0.0.1
27+
chromadb==0.4.24
2628

2729
# Data processing
2830
pandas==2.0.3

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ psutil==5.9.6
1818
# Production WSGI server
1919
gunicorn==21.2.0
2020

21-
# Legal AI dependencies
21+
# Legal AI dependencies - Compatible versions
2222
langgraph==0.2.16
23-
langchain==0.3.7
23+
langchain==0.2.16
2424
chromadb==0.4.24
2525
anthropic==0.34.2
2626
pydantic==2.5.0

0 commit comments

Comments
 (0)