Skip to content

The agent engineering platform.

Update python_repl docs (#4012)

AndreLCanadabf726f9d8a63
diff --git a/docs/modules/agents/tools/examples/python.ipynb b/docs/modules/agents/tools/examples/python.ipynb
index a142854537..68c7706301 100644
--- a/docs/modules/agents/tools/examples/python.ipynb
+++ b/docs/modules/agents/tools/examples/python.ipynb
@@ -65,7 +65,7 @@
"repl_tool = Tool(\n",
" name=\"python_repl\",\n",
" description=\"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.\",\n",
- " func=python_repl\n",
+ " func=python_repl.run\n",
")"
]
}