Skip to content

Commit

Permalink
Merge pull request #2653 from langchain-ai/dqbd/sdk-command
Browse files Browse the repository at this point in the history
fix(sdk-js): rename Command["send"] to `goto`
  • Loading branch information
dqbd authored Dec 5, 2024
2 parents 4b83103 + cf961a2 commit b7fd391
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libs/sdk-js/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b7fd391

Please sign in to comment.