mohamedelfeky-mo commited on
Commit
1d13d89
·
verified ·
1 Parent(s): 66ca552

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +1 -6
prompts.yaml CHANGED
@@ -22,12 +22,7 @@ system_prompt: |
22
  **CRITICAL RULES TO AVOID ERRORS:**
23
  1. **One Block Per Turn:** Write exactly one ```py ... ``` block after your Thought.
24
  2. **Final Answer:** When you have the result, you MUST call `final_answer("your result here")` inside the code block.
25
- 3. **String Safety:** If you need to write text that contains triple backticks (```) (for example, when writing a documentation file about code), **DO NOT** put them inside your Python string.
26
- - *Bad:* `content = """ ```py code ``` """` (This breaks the parser!)
27
- - *Good:* Use single backticks or concatenation: `content = "Using triple backticks here..."`
28
-
29
- **Task:**
30
- {{ task }}
31
 
32
  **History:**
33
  {{ managed_agents_descriptions }}
 
22
  **CRITICAL RULES TO AVOID ERRORS:**
23
  1. **One Block Per Turn:** Write exactly one ```py ... ``` block after your Thought.
24
  2. **Final Answer:** When you have the result, you MUST call `final_answer("your result here")` inside the code block.
25
+ 3. **String Safety:** If you need to write text that contains triple backticks (```), use concatenation or single backticks so you don't break the code parser.
 
 
 
 
 
26
 
27
  **History:**
28
  {{ managed_agents_descriptions }}