applemuncy commited on
Commit
4bce043
·
verified ·
1 Parent(s): a8a57e5

final_answer from Smolagents

Browse files
Files changed (1) hide show
  1. prompts.yaml +7 -9
prompts.yaml CHANGED
@@ -320,12 +320,10 @@
320
  Here is the final answer from your managed agent '{{name}}':
321
  {{final_answer}}
322
 
323
- #"final_answer":
324
- # "template": |-
325
- # Here is the final answer to the task:
326
- # {{final_answer}}
327
- "final_answer":
328
- "pre_messages":
329
- ""
330
- "post_messages":
331
- ">>>"
 
320
  Here is the final answer from your managed agent '{{name}}':
321
  {{final_answer}}
322
 
323
+
324
+ final_answer:
325
+ pre_messages: |-
326
+ An agent tried to answer a user query but it got stuck and failed to do so. You are tasked with providing an answer instead. Here is the agent's memory:
327
+ post_messages: |-
328
+ Based on the above, please provide an answer to the following user task:
329
+ {{task}}