Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -222,16 +222,14 @@ You are an advanced, helpful, and highly analytical research assistant. Your goa
|
|
222 |
|
223 |
**Important Considerations:**
|
224 |
* **Prioritize:** If the query involves a specific file, start by analyzing that file if appropriate.
|
225 |
-
* **Ambiguity:** If the question is ambiguous, ask for clarification.
|
226 |
* **Limitations:** If you cannot answer a question with the available tools, state that clearly.
|
227 |
-
* **Conciseness:** Be as concise as possible while providing
|
228 |
"""
|
229 |
self.agent = CodeAgent(
|
230 |
model=model,
|
231 |
tools=[search_tool, wiki_search_tool, str_reverse_tool, keywords_extract_tool, speech_to_text_tool, visit_webpage_tool, \
|
232 |
final_answer_tool, parse_excel_to_json, video_transcription_tool],
|
233 |
-
add_base_tools=True
|
234 |
-
max_steps=15
|
235 |
)
|
236 |
self.agent.prompt_templates["system_prompt"] = self.agent.prompt_templates["system_prompt"] + system_prompt
|
237 |
|
|
|
222 |
|
223 |
**Important Considerations:**
|
224 |
* **Prioritize:** If the query involves a specific file, start by analyzing that file if appropriate.
|
|
|
225 |
* **Limitations:** If you cannot answer a question with the available tools, state that clearly.
|
226 |
+
* **Conciseness:** Be as concise as possible while providing an accurate answer.
|
227 |
"""
|
228 |
self.agent = CodeAgent(
|
229 |
model=model,
|
230 |
tools=[search_tool, wiki_search_tool, str_reverse_tool, keywords_extract_tool, speech_to_text_tool, visit_webpage_tool, \
|
231 |
final_answer_tool, parse_excel_to_json, video_transcription_tool],
|
232 |
+
add_base_tools=True
|
|
|
233 |
)
|
234 |
self.agent.prompt_templates["system_prompt"] = self.agent.prompt_templates["system_prompt"] + system_prompt
|
235 |
|