Spaces:
Sleeping
Sleeping
Say hello!
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from Gradio_UI import GradioUI
|
|
9 |
|
10 |
@tool
|
11 |
def say_hello() -> str:
|
12 |
-
"""A tool that
|
13 |
Args:
|
14 |
|
15 |
"""
|
@@ -63,7 +63,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
63 |
|
64 |
agent = CodeAgent(
|
65 |
model=model,
|
66 |
-
tools=[final_answer], ## add your tools here (don't remove final answer)
|
67 |
max_steps=6,
|
68 |
verbosity_level=1,
|
69 |
grammar=None,
|
|
|
9 |
|
10 |
@tool
|
11 |
def say_hello() -> str:
|
12 |
+
"""A tool that says hello
|
13 |
Args:
|
14 |
|
15 |
"""
|
|
|
63 |
|
64 |
agent = CodeAgent(
|
65 |
model=model,
|
66 |
+
tools=[final_answer, say_hello], ## add your tools here (don't remove final answer)
|
67 |
max_steps=6,
|
68 |
verbosity_level=1,
|
69 |
grammar=None,
|