Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect code example in plan and execute example #122

Open
yeouchien opened this issue Apr 29, 2024 · 0 comments
Open

Incorrect code example in plan and execute example #122

yeouchien opened this issue Apr 29, 2024 · 0 comments

Comments

@yeouchien
Copy link

this 2 lines are wrong:

  1. in executeStep
    " const task = state.input;\n",

this should be const task = state.plan[0];

python example ref: https://github.com/langchain-ai/langgraph/blob/0e3c37ba2524bb4c170cec13098161500bdf8eee/examples/plan-and-execute/plan-and-execute.ipynb#L380

  1. in workflow addConditionalEdges

this should be false: 'agent',

python example ref: https://github.com/langchain-ai/langgraph/blob/0e3c37ba2524bb4c170cec13098161500bdf8eee/examples/plan-and-execute/plan-and-execute.ipynb#L442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant