mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
Fixed rewoo.ipynb
This commit is contained in:
@@ -342,6 +342,7 @@
|
||||
" _results = state[\"results\"] or {}\n",
|
||||
" for k, v in _results.items():\n",
|
||||
" tool_input = tool_input.replace(k, v)\n",
|
||||
" step_name = step_name.replace(k, v)\n",
|
||||
" plan += f\"Plan: {_plan}\\n{step_name} = {tool}[{tool_input}]\"\n",
|
||||
" prompt = solve_prompt.format(plan=plan, task=state[\"task\"])\n",
|
||||
" result = model.invoke(prompt)\n",
|
||||
|
||||
Reference in New Issue
Block a user