Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ class BasicAgent:
|
|
| 103 |
"matterattetatte/pdf-upload-extractor-tool",
|
| 104 |
trust_remote_code = True
|
| 105 |
)
|
| 106 |
-
modified_system_message = CODE_SYSTEM_PROMPT + "If the question includes a task_id and mentions a file, call fetch_task_file first; route YouTube URLs to get_youtube_transcript, other URLs to visit_webpage, PDFs to pdf_tool, and spreadsheets to read_spreadsheet, using web_search only when no URL or file is given
|
| 107 |
self.agent = CodeAgent(
|
| 108 |
tools=[
|
| 109 |
DuckDuckGoSearchTool(),
|
|
|
|
| 103 |
"matterattetatte/pdf-upload-extractor-tool",
|
| 104 |
trust_remote_code = True
|
| 105 |
)
|
| 106 |
+
modified_system_message = CODE_SYSTEM_PROMPT + "If the question includes a task_id and mentions a file, call fetch_task_file first; route YouTube URLs to get_youtube_transcript, other URLs to visit_webpage, PDFs to pdf_tool, and spreadsheets to read_spreadsheet, using web_search only when no URL or file is given,then respond with only the exact final answer value, no explanation, no prefix."
|
| 107 |
self.agent = CodeAgent(
|
| 108 |
tools=[
|
| 109 |
DuckDuckGoSearchTool(),
|