Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -323,7 +323,7 @@ python_tool = PythonREPLTool()
|
|
| 323 |
tools.append(Tool(name="python_repl", func=python_tool.run, description="Python ์ฝ๋๋ฅผ ์คํํฉ๋๋ค."))
|
| 324 |
from langchain import hub
|
| 325 |
prompt=hub.pull("hwchase17/structured-chat-agent")
|
| 326 |
-
from
|
| 327 |
shell_tool = ShellTool()
|
| 328 |
tools.append(Tool(name="shell_exec", func=shell_tool.run, description="๋ก์ปฌ ๋ช
๋ น์ด๋ฅผ ์คํํฉ๋๋ค."))
|
| 329 |
|
|
|
|
| 323 |
tools.append(Tool(name="python_repl", func=python_tool.run, description="Python ์ฝ๋๋ฅผ ์คํํฉ๋๋ค."))
|
| 324 |
from langchain import hub
|
| 325 |
prompt=hub.pull("hwchase17/structured-chat-agent")
|
| 326 |
+
from langchain_community.tools.shell.tool import ShellTool
|
| 327 |
shell_tool = ShellTool()
|
| 328 |
tools.append(Tool(name="shell_exec", func=shell_tool.run, description="๋ก์ปฌ ๋ช
๋ น์ด๋ฅผ ์คํํฉ๋๋ค."))
|
| 329 |
|