fix(sdk): runs.join() returns the thread values (#1409)

This commit is contained in:
David Duong
2025-07-16 16:14:53 +02:00
committed by GitHub
parent 02f9e023ea
commit 53b8c30770
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@langchain/langgraph-sdk": patch
---
fix(sdk): `runs.join()` returns the thread values
+2 -2
View File
@@ -1257,8 +1257,8 @@ export class RunsClient<
threadId: string,
runId: string,
options?: { signal?: AbortSignal }
): Promise<void> {
return this.fetch<void>(`/threads/${threadId}/runs/${runId}/join`, {
): Promise<TStateType> {
return this.fetch<TStateType>(`/threads/${threadId}/runs/${runId}/join`, {
timeoutMs: null,
signal: options?.signal,
});