Add missing dependencies for OpenRouter integration
Browse files- Add langchain-openai package for ChatOpenAI class
- Add langchain-core for prompt templates and utilities
- Add pydantic for field validation in ChatOpenRouter class
- Fix ModuleNotFoundError for langchain_openai import
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- requirements.txt +3 -0
requirements.txt
CHANGED
|
@@ -8,11 +8,14 @@ openpyxl==3.1.2
|
|
| 8 |
# Fixed Langchain components
|
| 9 |
langchain==0.1.0
|
| 10 |
langchain-community==0.0.10
|
|
|
|
|
|
|
| 11 |
sentence-transformers==2.2.2
|
| 12 |
faiss-cpu==1.7.4
|
| 13 |
transformers==4.36.0
|
| 14 |
torch==2.1.0
|
| 15 |
tokenizers==0.15.0
|
|
|
|
| 16 |
|
| 17 |
# Additional utilities
|
| 18 |
python-dotenv==1.0.0
|
|
|
|
| 8 |
# Fixed Langchain components
|
| 9 |
langchain==0.1.0
|
| 10 |
langchain-community==0.0.10
|
| 11 |
+
langchain-openai==0.0.5
|
| 12 |
+
langchain-core==0.1.10
|
| 13 |
sentence-transformers==2.2.2
|
| 14 |
faiss-cpu==1.7.4
|
| 15 |
transformers==4.36.0
|
| 16 |
torch==2.1.0
|
| 17 |
tokenizers==0.15.0
|
| 18 |
+
pydantic==2.5.0
|
| 19 |
|
| 20 |
# Additional utilities
|
| 21 |
python-dotenv==1.0.0
|