Skip to content

Commit a6d6f85

Browse files
Update plan review instructions to clarify handling of user interactions based on response presence
1 parent de49901 commit a6d6f85

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/backend/orchestration/plan_review_helpers.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,14 @@ def get_magentic_prompt_kwargs(
109109
Use exact agent names from the team list above. Output ONLY the JSON array — no
110110
markdown fences, no commentary before or after.
111111
112-
IMPORTANT: There is NO UserInteractionAgent. Do NOT include any user-interaction
112+
""" + ("""IMPORTANT: There is NO UserInteractionAgent. Do NOT include any user-interaction
113113
agent in the plan. Domain agents gather user info themselves via their
114114
request_user_clarification tool — the framework pauses automatically when they
115115
call it and resumes when the user answers.
116-
116+
""" if has_user_responses else """IMPORTANT: There is NO UserInteractionAgent. Do NOT include any user-interaction
117+
agent in the plan. Agents apply sensible defaults for missing details and proceed
118+
without asking the user any questions.
119+
""") + """
117120
Example plan:
118121
[
119122
{{"agent": "HRHelperAgent", "action": "execute the onboarding process for the new employee"}},

0 commit comments

Comments
 (0)