Skip to content

Commit a4377d8

Browse files
committed
fix type and default value of the code_execution_config of UserProxAgent
1 parent 8f6590e commit a4377d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autogen/agentchat/user_proxy_agent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def __init__(
2929
is_termination_msg: Optional[Callable[[Dict], bool]] = None,
3030
max_consecutive_auto_reply: Optional[int] = None,
3131
human_input_mode: Literal["ALWAYS", "TERMINATE", "NEVER"] = "ALWAYS",
32-
function_map: Optional[Dict[str, Callable]] = None,
33-
code_execution_config: Optional[Union[Dict, Literal[False]]] = None,
32+
function_map: Dict[str, Callable] = {},
33+
code_execution_config: Union[Dict, Literal[False]] = {},
3434
default_auto_reply: Optional[Union[str, Dict, None]] = "",
3535
llm_config: Optional[Union[Dict, Literal[False]]] = False,
3636
system_message: Optional[Union[str, List]] = "",

0 commit comments

Comments
 (0)