Spaces:
Sleeping
Sleeping
Stoyan Georgiev
commited on
Commit
·
1de3198
1
Parent(s):
e8d4494
Updated the Space with new features
Browse files
app.py
CHANGED
|
@@ -51,13 +51,13 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 51 |
|
| 52 |
agent = CodeAgent(
|
| 53 |
model=model,
|
| 54 |
-
tools=[final_answer],
|
| 55 |
max_steps=6,
|
| 56 |
verbosity_level=1,
|
| 57 |
grammar=None,
|
| 58 |
planning_interval=None,
|
| 59 |
-
name=
|
| 60 |
-
description=
|
| 61 |
prompt_templates=prompt_templates
|
| 62 |
)
|
| 63 |
|
|
|
|
| 51 |
|
| 52 |
agent = CodeAgent(
|
| 53 |
model=model,
|
| 54 |
+
tools=[final_answer, get_current_time_in_timezone], # Add your tool here
|
| 55 |
max_steps=6,
|
| 56 |
verbosity_level=1,
|
| 57 |
grammar=None,
|
| 58 |
planning_interval=None,
|
| 59 |
+
name="TimeZone Agent",
|
| 60 |
+
description="An agent that can provide the current time in any timezone and perform other tasks.",
|
| 61 |
prompt_templates=prompt_templates
|
| 62 |
)
|
| 63 |
|