Skip to content

Commit 5385be8

Browse files
authored
Refined the user_proxy description. (microsoft#951)
* Refined the user_proxy description in cases where it is fully automated. Too often, other agents assumed it could answer on behalf of a user in human_input=NEVER mode, but it cannot. * Refined prompt further as per discussion.
1 parent c3d076e commit 5385be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autogen/agentchat/user_proxy_agent.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class UserProxyAgent(ConversableAgent):
2020
DEFAULT_USER_PROXY_AGENT_DESCRIPTIONS = {
2121
"ALWAYS": "An attentive HUMAN user who can answer questions about the task, and can perform tasks such as running Python code or inputting command line commands at a Linux terminal and reporting back the execution results.",
2222
"TERMINATE": "A user that can run Python code or input command line commands at a Linux terminal and report back the execution results.",
23-
"NEVER": "A user that can run Python code or input command line commands at a Linux terminal and report back the execution results.",
23+
"NEVER": "A computer terminal that performs no other action than running Python scripts (provided to it quoted in ```python code blocks), or sh shell scripts (provided to it quoted in ```sh code blocks).",
2424
}
2525

2626
def __init__(

0 commit comments

Comments
 (0)