Spaces:
Sleeping
Sleeping
Jimmy Neitzert commited on
Commit ·
f2346f6
1
Parent(s): 3c52129
add tools to CodeAgent
Browse files
app.py
CHANGED
|
@@ -62,7 +62,11 @@ with open("prompts.yaml", "r") as stream:
|
|
| 62 |
|
| 63 |
agent = CodeAgent(
|
| 64 |
model=model,
|
| 65 |
-
tools=[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
max_steps=6,
|
| 67 |
verbosity_level=1,
|
| 68 |
grammar=None,
|
|
|
|
| 62 |
|
| 63 |
agent = CodeAgent(
|
| 64 |
model=model,
|
| 65 |
+
tools=[
|
| 66 |
+
final_answer,
|
| 67 |
+
encode_str_to_base64,
|
| 68 |
+
get_current_time_in_timezone,
|
| 69 |
+
], ## add your tools here (don't remove final answer)
|
| 70 |
max_steps=6,
|
| 71 |
verbosity_level=1,
|
| 72 |
grammar=None,
|