Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yiranwu0 committed Jan 21, 2025
1 parent f66890d commit 9fc2b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/agentchat/contrib/swarm_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _process_initial_messages(
temp_user_proxy = None
temp_user_list = []
if len(messages) == 1 and "name" not in messages[0] and not user_agent:
temp_user_proxy = UserProxyAgent(name="_User")
temp_user_proxy = UserProxyAgent(name="_User", code_execution_config=False)
last_agent = temp_user_proxy
temp_user_list.append(temp_user_proxy)
else:
Expand Down

0 comments on commit 9fc2b53

Please sign in to comment.