Spaces:
Sleeping
Sleeping
add tz tool
Browse files
app.py
CHANGED
|
@@ -56,7 +56,10 @@ with open("prompts.yaml", "r") as stream:
|
|
| 56 |
|
| 57 |
agent = CodeAgent(
|
| 58 |
model=model,
|
| 59 |
-
tools=[
|
|
|
|
|
|
|
|
|
|
| 60 |
max_steps=6,
|
| 61 |
verbosity_level=1,
|
| 62 |
grammar=None,
|
|
@@ -68,4 +71,3 @@ agent = CodeAgent(
|
|
| 68 |
|
| 69 |
|
| 70 |
GradioUI(agent).launch()
|
| 71 |
-
|
|
|
|
| 56 |
|
| 57 |
agent = CodeAgent(
|
| 58 |
model=model,
|
| 59 |
+
tools=[
|
| 60 |
+
get_current_time_in_timezone,
|
| 61 |
+
final_answer,
|
| 62 |
+
], ## add your tools here (don't remove final answer)
|
| 63 |
max_steps=6,
|
| 64 |
verbosity_level=1,
|
| 65 |
grammar=None,
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
GradioUI(agent).launch()
|
|
|