From bf726f9d8a636c970e31404e7992c2dba6674786 Mon Sep 17 00:00:00 2001 From: AndreLCanada <108090605+AndreLCanada@users.noreply.github.com> Date: Wed, 3 May 2023 22:45:32 -0700 Subject: [PATCH] Update python_repl docs (#4012) In the example for creating a Python REPL tool under the Agent module, the ".run" was omitted in the example. I believe this is required when defining a Tool. --- docs/modules/agents/tools/examples/python.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/agents/tools/examples/python.ipynb b/docs/modules/agents/tools/examples/python.ipynb index a1428545..68c77063 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", ")" ] }