Update app.py
Browse files
app.py
CHANGED
@@ -102,8 +102,10 @@ class BasicAgent:
|
|
102 |
# api_base="https://api.siliconflow.cn/v1/",
|
103 |
# api_key=os.getenv('MODEL_TOKEN'),
|
104 |
# )
|
105 |
-
|
106 |
-
|
|
|
|
|
107 |
|
108 |
web_agent = ToolCallingAgent(
|
109 |
tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
|
|
|
102 |
# api_base="https://api.siliconflow.cn/v1/",
|
103 |
# api_key=os.getenv('MODEL_TOKEN'),
|
104 |
# )
|
105 |
+
attachment_tool=AttachmentDownloadTool()
|
106 |
+
image_tool=ImageCaptionTool()
|
107 |
+
audio_tool=AudioToTextTool()
|
108 |
+
self.tools = [attachment_tool,image_tool,audio_tool]
|
109 |
|
110 |
web_agent = ToolCallingAgent(
|
111 |
tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
|