mirror of
https://github.com/langchain-ai/langgraph-guardrails-example.git
synced 2026-07-01 07:14:56 -04:00
fix kwarg -> arg
This commit is contained in:
@@ -79,10 +79,7 @@ async function main() {
|
||||
id: lastMessage.tool_calls[0].id,
|
||||
}];
|
||||
|
||||
await client.threads.updateState(
|
||||
thread.thread_id,
|
||||
{ values: { messages: [lastMessage] } }
|
||||
);
|
||||
await client.threads.updateState(thread.thread_id, { messages: [lastMessage] });
|
||||
|
||||
// Check the updated state
|
||||
threadState = await client.threads.getState(thread.thread_id);
|
||||
|
||||
Reference in New Issue
Block a user