mirror of
https://github.com/langchain-ai/langgraphjs.git
synced 2026-07-23 01:26:57 -04:00
fix(sdk): runs.join() returns the thread values (#1409)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@langchain/langgraph-sdk": patch
|
||||
---
|
||||
|
||||
fix(sdk): `runs.join()` returns the thread values
|
||||
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user