Merge pull request #2653 from langchain-ai/dqbd/sdk-command

fix(sdk-js): rename Command["send"] to `goto`
This commit is contained in:
David Duong
2024-12-05 20:49:47 +04:00
committed by GitHub
+4 -2
View File
@@ -40,9 +40,11 @@ export interface Command {
resume?: unknown;
/**
* A single, or array of `Send` commands to trigger nodes.
* Determine the next node to navigate to. Can be one of the following:
* - Name(s) of the node names to navigate to next.
* - `Send` command(s) to execute node(s) with provided input.
*/
send?: Send | Send[];
goto?: Send | Send[] | string | string[];
}
interface RunsInvokePayload {