Anmol Gupta commited on
Commit
acd6ac2
·
1 Parent(s): c716291

updated prompts

Browse files
Files changed (1) hide show
  1. prompts.yaml +13 -28
prompts.yaml CHANGED
@@ -320,31 +320,16 @@
320
  Here is the final answer from your managed agent '{{name}}':
321
  {{final_answer}}
322
 
323
- "final_answer": |-
324
- You have now solved the task.
325
-
326
- Please finalize your output by presenting:
327
- ### 1. Task outcome (short version):
328
- ### 2. Task outcome (extremely detailed version):
329
- ### 3. Additional context (if relevant):
330
-
331
- Format clearly and precisely.
332
-
333
- Return the results by calling the `final_answer()` tool appropriately.
334
-
335
- Example:
336
-
337
- ```py
338
- final_answer(
339
- """
340
- ### 1. Task outcome (short version):
341
- Found the required information.
342
-
343
- ### 2. Task outcome (extremely detailed version):
344
- After gathering and analyzing data from multiple trusted sources, it was determined that...
345
-
346
- ### 3. Additional context (if relevant):
347
- Note that these results may change in the future based on new findings.
348
- """
349
- )
350
- ```<end_code>
 
320
  Here is the final answer from your managed agent '{{name}}':
321
  {{final_answer}}
322
 
323
+ final_answer:
324
+ pre_messages: |-
325
+ Finalize your answer clearly.
326
+ ### 1. Task outcome (short):
327
+ ### 2. Detailed explanation:
328
+ ### 3. Extra context (if any):
329
+ Output everything inside a call to `final_answer(result)`.
330
+
331
+ post_messages: |-
332
+ You have completed the task successfully.
333
+ If anything failed, still return everything you found.
334
+ Always output a structured final answer.
335
+