Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,6 @@ import json
|
|
| 13 |
import os
|
| 14 |
from typing import Dict, List, Optional, Union, Any
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
'''
|
| 19 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 20 |
@tool
|
|
@@ -146,10 +144,6 @@ agent = CodeAgent(
|
|
| 146 |
tools=[final_answer,visit_webpage,create_document,get_file_download_link], ## add your tools here (don't remove final answer)
|
| 147 |
max_steps=6,
|
| 148 |
verbosity_level=1,
|
| 149 |
-
grammar=None,
|
| 150 |
-
planning_interval=None,
|
| 151 |
-
name=None,
|
| 152 |
-
description=None,
|
| 153 |
prompt_templates=prompt_templates
|
| 154 |
)
|
| 155 |
|
|
|
|
| 13 |
import os
|
| 14 |
from typing import Dict, List, Optional, Union, Any
|
| 15 |
|
|
|
|
|
|
|
| 16 |
'''
|
| 17 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 18 |
@tool
|
|
|
|
| 144 |
tools=[final_answer,visit_webpage,create_document,get_file_download_link], ## add your tools here (don't remove final answer)
|
| 145 |
max_steps=6,
|
| 146 |
verbosity_level=1,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
prompt_templates=prompt_templates
|
| 148 |
)
|
| 149 |
|