Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ async def _arun(

def universal_analyze_code_tool(sql_db: Session, user_id: str):
"""Factory function to create the universal code analysis tool."""
from langchain.tools import StructuredTool
from langchain_core.tools import StructuredTool

tool_instance = UniversalAnalyzeCodeTool(sql_db, user_id)
return StructuredTool.from_function(
Expand Down
31 changes: 16 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
fastapi[all]==0.115.6
httpx==0.28.1
cryptography==42.0.8
cryptography==44.0.1
PyJWT==2.10.1
instructor==1.5.2
jiter==0.5.0
litellm==1.72.1
joblib==1.4.2
json_repair==0.35.0
langsmith==0.3.3
langsmith==0.4.42
json5==0.9.28
kombu==5.4.2
uvicorn==0.32.1
Expand All @@ -27,14 +27,14 @@ networkx==3.4.2
blar-graph==1.1.6
openai==1.76.0
uuid6==2024.7.10
aiohttp==3.11.9
langchain==0.3.16
langchain-community==0.3.16
langchain-core==0.3.32
langgraph-checkpoint==2.0.10
langgraph-sdk==0.1.51
langchain-postgres==0.0.12
langgraph==0.2.58
aiohttp==3.12.14
langchain==1.0.5
langchain-community==0.4.1
langchain-core==1.0.4
langgraph-checkpoint==3.0.1
langgraph-sdk==0.2.9
langchain-postgres==0.0.16
langgraph==1.0.3
firebase-admin==6.6.0
gitPython==3.1.43
PyGithub==2.5.0
Expand All @@ -47,12 +47,13 @@ ruff==0.8.1
pylint==3.3.2
bandit==1.8.0
aiofiles==24.1.0
authlib==1.6.3
auth0-python==4.13.0
authlib==1.6.5
scikit-learn==1.5.2
requests==2.32.3
requests==2.32.5
resend==2.4.0
transformers>=4.48.0
torch==2.5.1
transformers>=4.53.0
torch==2.8.0
sentence-transformers==4.0.2
nltk==3.9.1
celery==5.4.0
Expand All @@ -70,6 +71,6 @@ pydantic_ai==0.4.3
pathspec==0.12.1
pytest
pytest-asyncio
Pillow==10.0.1
Pillow==10.3.0
python-multipart>=0.0.7
asyncpg==0.30.0