Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -203,7 +203,7 @@ class MagAgent:
|
|
| 203 |
" - Provide answers that are concise, accurate, and properly punctuated according to standard English grammar.\n"
|
| 204 |
" - When the answer is a direct quote or direct speech, include the quotation marks in the final answer submitted via `final_answer`. For example, if the answer is \"Extremely.\", submit it as \"\\\"Extremely.\\\"\"\n\n"
|
| 205 |
" - If asked about name of place or city, use full complete name without abbreviations (e.g. use Saint Petersburg instead of St.Petersburg). \n"
|
| 206 |
-
" - When giving the final answer, output only the direct required result without any extra text like "Final Answer
|
| 207 |
f"Answer the following question accurately and concisely: \n {question} \n"
|
| 208 |
)
|
| 209 |
print(f"Calling agent.run...")
|
|
|
|
| 203 |
" - Provide answers that are concise, accurate, and properly punctuated according to standard English grammar.\n"
|
| 204 |
" - When the answer is a direct quote or direct speech, include the quotation marks in the final answer submitted via `final_answer`. For example, if the answer is \"Extremely.\", submit it as \"\\\"Extremely.\\\"\"\n\n"
|
| 205 |
" - If asked about name of place or city, use full complete name without abbreviations (e.g. use Saint Petersburg instead of St.Petersburg). \n"
|
| 206 |
+
" - When giving the final answer, output only the direct required result without any extra text like \"Final Answer:\" or explanations.\n"
|
| 207 |
f"Answer the following question accurately and concisely: \n {question} \n"
|
| 208 |
)
|
| 209 |
print(f"Calling agent.run...")
|