Spaces:
Running
Running
Update prompts.yaml
Browse files- prompts.yaml +5 -2
prompts.yaml
CHANGED
@@ -102,7 +102,7 @@
|
|
102 |
3. Always use the right arguments for the tools. DO NOT pass the arguments as a dict as in 'answer = wiki({'query': "What is the place where James Bond lives?"})', but use the arguments directly as in 'answer = wiki(query="What is the place where James Bond lives?")'.
|
103 |
4. Take care to not chain too many sequential tool calls in the same code block, especially when the output format is unpredictable.
|
104 |
5. Call a tool only when needed, and never re-do a tool call that you previously did with the exact same parameters.
|
105 |
-
|
106 |
7. Never create any notional variables in our code, as having these in our logs will derail you from the true variables.
|
107 |
8. You can use imports in your code, but only from the following list of modules: {{authorized_imports}}
|
108 |
9. The state persists between code executions: so if in one step you've created variables or imported modules, these will all persist.
|
@@ -233,4 +233,7 @@
|
|
233 |
Ensure the answer is clear, concise, and addresses the task requirements.
|
234 |
If the task requires specific formatting (e.g., sections for outcome and context), include those in the answer.
|
235 |
"template": |-
|
236 |
-
The final answer to the task is: {{answer}}
|
|
|
|
|
|
|
|
102 |
3. Always use the right arguments for the tools. DO NOT pass the arguments as a dict as in 'answer = wiki({'query': "What is the place where James Bond lives?"})', but use the arguments directly as in 'answer = wiki(query="What is the place where James Bond lives?")'.
|
103 |
4. Take care to not chain too many sequential tool calls in the same code block, especially when the output format is unpredictable.
|
104 |
5. Call a tool only when needed, and never re-do a tool call that you previously did with the exact same parameters.
|
105 |
+
6. Don't name any new variable with the same name as a tool: for instance don't name a variable 'final_answer'.
|
106 |
7. Never create any notional variables in our code, as having these in our logs will derail you from the true variables.
|
107 |
8. You can use imports in your code, but only from the following list of modules: {{authorized_imports}}
|
108 |
9. The state persists between code executions: so if in one step you've created variables or imported modules, these will all persist.
|
|
|
233 |
Ensure the answer is clear, concise, and addresses the task requirements.
|
234 |
If the task requires specific formatting (e.g., sections for outcome and context), include those in the answer.
|
235 |
"template": |-
|
236 |
+
The final answer to the task is: {{answer}}
|
237 |
+
"post_messages": |-
|
238 |
+
The final answer has been submitted using the `final_answer` tool.
|
239 |
+
Review the results and ensure the task requirements have been fully met.
|