add image generation tool
Browse files
app.py
CHANGED
|
@@ -64,7 +64,14 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 64 |
|
| 65 |
agent = CodeAgent(
|
| 66 |
model=model,
|
| 67 |
-
tools=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
max_steps=6,
|
| 69 |
verbosity_level=1,
|
| 70 |
grammar=None,
|
|
|
|
| 64 |
|
| 65 |
agent = CodeAgent(
|
| 66 |
model=model,
|
| 67 |
+
tools=[
|
| 68 |
+
who_am_i,
|
| 69 |
+
my_custom_tool,
|
| 70 |
+
web_search,
|
| 71 |
+
get_current_time_in_timezone,
|
| 72 |
+
final_answer,
|
| 73 |
+
image_generation_tool
|
| 74 |
+
], ## add your tools here (don't remove final answer)
|
| 75 |
max_steps=6,
|
| 76 |
verbosity_level=1,
|
| 77 |
grammar=None,
|