Skip to content

Commit bb9b257

Browse files
remove the extra prompt
1 parent 529040a commit bb9b257

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/backend/v3/orchestration/human_approval_manager.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,7 @@ def __init__(self, user_id: str, *args, **kwargs):
5353
# Remove any custom kwargs before passing to parent
5454

5555
plan_append = """
56-
57-
CRITICAL DOMAIN CHECK: Examine team agents first - if request doesn't match team domain, reject immediately:
58-
- CustomerDataAgent/OrderDataAgent = RETAIL team (reject HR/employee requests)
59-
- HRHelperAgent = HR team (reject non-HR requests)
60-
- ProductAgent/MarketingAgent = MARKETING team (reject non-marketing requests)
61-
62-
- **ProxyAgent** to politely inform the user that this request does not match this team’s domain and should be redirected to the appropriate team. No clarifications or follow-up questions should be asked.
63-
64-
56+
6557
IMPORTANT: Never ask the user for information or clarification until all agents on the team have been asked first.
6658
6759
EXAMPLE: If the user request involves product information, first ask all agents on the team to provide the information.

0 commit comments

Comments
 (0)