hectorpal commited on
Commit
c083267
·
verified ·
1 Parent(s): b9f18eb

final_answer from smolagents repo: `src/smolagents/prompts/code_agent.yaml`

Browse files
Files changed (1) hide show
  1. prompts.yaml +5 -4
prompts.yaml CHANGED
@@ -320,7 +320,8 @@
320
  Here is the final answer from your managed agent '{{name}}':
321
  {{final_answer}}
322
  "final_answer":
323
- "pre_messages": |-
324
- .
325
- "post_messages": |-
326
- .
 
 
320
  Here is the final answer from your managed agent '{{name}}':
321
  {{final_answer}}
322
  "final_answer":
323
+ pre_messages: |-
324
+ 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:
325
+ post_messages: |-
326
+ Based on the above, please provide an answer to the following user task:
327
+ {{task}}