mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 17:38:36 +00:00
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.
This commit is contained in:
parent
67db495fcf
commit
bf726f9d8a
@ -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",
|
||||
")"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user