File tree Expand file tree Collapse file tree 6 files changed +33
-32
lines changed
Expand file tree Collapse file tree 6 files changed +33
-32
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ test = [
4646 " black[jupyter]==25.1.0" ,
4747 " isort==6.0.1" ,
4848 " mypy==1.15.0" ,
49- " pytest-asyncio==0.25.3 " ,
50- " pytest==8.3.4 " ,
51- " pytest-cov==6.0.0 " ,
52- " langchain-tests==0.3.12 " ,
53- " langgraph==0.2.74 "
49+ " pytest-asyncio==0.26.0 " ,
50+ " pytest==8.3.5 " ,
51+ " pytest-cov==6.1.1 " ,
52+ " langchain-tests==0.3.19 " ,
53+ " langgraph==0.3.31 "
5454]
5555
5656[build-system ]
Original file line number Diff line number Diff line change 11cloud-sql-python-connector [asyncpg ]== 1.18.1
2- langchain-core == 0.3.40
3- numpy == 2.2.3 ; python_version > "3.9"
4- numpy == 2.0.2 ; python_version < = "3.9"
5- pgvector == 0.3.6
6- SQLAlchemy [asyncio ]== 2.0.38
7- langgraph-checkpoint == 2.0.10
2+ langchain-core == 0.3.55
3+ numpy == 2.2.5 ; python_version > "3.9"
4+ numpy == 2.0.2 ; python_version < = "3.9"
5+ pgvector == 0.4.0
6+ SQLAlchemy [asyncio ]== 2.0.40
7+ langgraph == 0.3.31
Original file line number Diff line number Diff line change 1- langchain-community == 0.3.18
2- langchain-google-cloud-sql-pg == 0.12.1
3- langchain-google-vertexai == 2.0.14
1+ langchain-community == 0.3.22
2+ langchain-google-cloud-sql-pg == 0.13.0
3+ langchain-google-vertexai == 2.0.20
Original file line number Diff line number Diff line change 1- google-cloud-aiplatform [reasoningengine,langchain ]== 1.81 .0
2- google-cloud-resource-manager == 1.14.1
3- langchain-community == 0.3.18
4- langchain-google-cloud-sql-pg == 0.12.1
5- langchain-google-vertexai == 2.0.14
1+ google-cloud-aiplatform [reasoningengine,langchain ]== 1.89 .0
2+ google-cloud-resource-manager == 1.14.2
3+ langchain-community == 0.3.22
4+ langchain-google-cloud-sql-pg == 0.13.0
5+ langchain-google-vertexai == 2.0.20
Original file line number Diff line number Diff line change 1- google-cloud-aiplatform [reasoningengine,langchain ]== 1.81 .0
2- google-cloud-resource-manager == 1.14.1
3- langchain-community == 0.3.18
4- langchain-google-cloud-sql-pg == 0.12.1
5- langchain-google-vertexai == 2.0.14
1+ google-cloud-aiplatform [reasoningengine,langchain ]== 1.89 .0
2+ google-cloud-resource-manager == 1.14.2
3+ langchain-community == 0.3.22
4+ langchain-google-cloud-sql-pg == 0.13.0
5+ langchain-google-vertexai == 2.0.20
Original file line number Diff line number Diff line change 3939 empty_checkpoint ,
4040)
4141from langgraph .checkpoint .serde .jsonplus import JsonPlusSerializer
42- from langgraph .prebuilt import (
42+ from langgraph .prebuilt import ( # type: ignore[import-not-found]
4343 ToolNode ,
4444 ValidationNode ,
4545 create_react_agent ,
@@ -374,13 +374,14 @@ def _AnyIdHumanMessage(**kwargs: Any) -> HumanMessage:
374374
375375 saved = await checkpointer .aget_tuple (thread_agent_config )
376376 assert saved is not None
377- assert saved .checkpoint ["channel_values" ] == {
378- "messages" : [
379- _AnyIdHumanMessage (content = "hi?" ),
380- AIMessage (content = "hi?" , id = "0" ),
381- ],
382- "agent" : "agent" ,
383- }
377+ assert (
378+ _AnyIdHumanMessage (content = "hi?" )
379+ in saved .checkpoint ["channel_values" ]["messages" ]
380+ )
381+ assert (
382+ AIMessage (content = "hi?" , id = "0" )
383+ in saved .checkpoint ["channel_values" ]["messages" ]
384+ )
384385 assert saved .metadata == {
385386 "parents" : {},
386387 "source" : "loop" ,
You can’t perform that action at this time.
0 commit comments