Skip to content

Commit

Permalink
dep: Fix issue causing 'SafetySetting' not defined issue using ChatVe…
Browse files Browse the repository at this point in the history
…rtexAI.

Per langchain-ai/langchain#28271, the fix is to pin pydantic to 2.9.0.
  • Loading branch information
anubhav756 committed Dec 3, 2024
1 parent db42c4d commit f62c559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions llm_demo/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ langgraph==0.2.48
httpx==0.27.2
pandas-stubs==2.2.2.240807
pandas==2.2.3
pydantic==2.9.0
2 changes: 1 addition & 1 deletion retrieval_service/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ google-cloud-aiplatform==1.72.0
google-cloud-spanner==3.49.1
langchain-core==0.3.18
pgvector==0.3.5
pydantic==2.9.2
pydantic==2.9.0
uvicorn[standard]==0.31.0
cloud-sql-python-connector==1.12.1
google-cloud-alloydb-connector[asyncpg]==1.4.0
Expand Down

0 comments on commit f62c559

Please sign in to comment.