mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-29 03:09:45 +02:00
Add graph_id back
This commit is contained in:
@@ -508,7 +508,10 @@ export class ThreadsClient<
|
||||
}>;
|
||||
}): Promise<Thread<TStateType>> {
|
||||
const json: Record<string, unknown> = {
|
||||
metadata: payload?.metadata,
|
||||
metadata: {
|
||||
...payload?.metadata,
|
||||
graph_id: payload?.graphId,
|
||||
},
|
||||
thread_id: payload?.threadId,
|
||||
if_exists: payload?.ifExists,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user