mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-11 20:27:54 +02:00
Fix
This commit is contained in:
@@ -326,7 +326,7 @@ class RemoteGraph(PregelProtocol, Runnable):
|
||||
|
||||
response: dict = self.sync_client.threads.update_state( # type: ignore
|
||||
thread_id=merged_config["configurable"]["thread_id"],
|
||||
values=values, # type: ignore
|
||||
values=values,
|
||||
as_node=as_node,
|
||||
checkpoint=self._get_checkpoint(merged_config),
|
||||
)
|
||||
@@ -342,7 +342,7 @@ class RemoteGraph(PregelProtocol, Runnable):
|
||||
|
||||
response: dict = await self.client.threads.update_state( # type: ignore
|
||||
thread_id=merged_config["configurable"]["thread_id"],
|
||||
values=values, # type: ignore
|
||||
values=values,
|
||||
as_node=as_node,
|
||||
checkpoint=self._get_checkpoint(merged_config),
|
||||
)
|
||||
|
||||
@@ -186,6 +186,7 @@ class ThreadTask(TypedDict):
|
||||
interrupts: list[dict]
|
||||
checkpoint: Optional[Checkpoint]
|
||||
state: Optional["ThreadState"]
|
||||
result: Optional[dict[str, Any]]
|
||||
|
||||
|
||||
class ThreadState(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user