You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jupyter_ai_agents/agents/explain_error/explain_error_agent.py
+45-7Lines changed: 45 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,9 @@
40
40
Your response should:
41
41
1. Briefly explain what caused the error
42
42
2. Insert a corrected code cell at the appropriate location
43
-
3. Execute it to verify the fix works"""
43
+
3. Execute it to verify the fix works
44
+
45
+
IMPORTANT: When you have completed the fix successfully, provide a final text response summarizing what you did WITHOUT making any more tool calls. This signals completion and allows the program to exit properly."""
Copy file name to clipboardExpand all lines: jupyter_ai_agents/agents/prompt/prompt_agent.py
+27-5Lines changed: 27 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,9 @@
37
37
3. Write the main code
38
38
4. Add markdown explanations
39
39
40
-
Execute each code cell as you create it to ensure it works properly."""
40
+
Execute each code cell as you create it to ensure it works properly.
41
+
42
+
IMPORTANT: When you have completed the task successfully, provide a final text response summarizing what you did WITHOUT making any more tool calls. This signals completion and allows the program to exit properly."""
0 commit comments