Skip to content

Commit

Permalink
Refined the user_proxy description. (#951)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
afourney authored and joshkyh committed Jan 17, 2024
1 parent dec108e commit 79cacb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/agentchat/user_proxy_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UserProxyAgent(ConversableAgent):
DEFAULT_USER_PROXY_AGENT_DESCRIPTIONS = {
"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.",
"TERMINATE": "A user that can run Python code or input command line commands at a Linux terminal and report back the execution results.",
"NEVER": "A user that can run Python code or input command line commands at a Linux terminal and report back the execution results.",
"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).",
}

def __init__(
Expand Down

0 comments on commit 79cacb7

Please sign in to comment.