@@ -63,6 +63,8 @@ def __init__(
63
63
llm_config : Optional [Union [Dict , bool ]] = None ,
64
64
default_auto_reply : Optional [Union [str , Dict , None ]] = "" ,
65
65
compress_config : Optional [Dict ] = False ,
66
+ description : Optional [str ] = None ,
67
+ ** kwargs ,
66
68
):
67
69
"""
68
70
Args:
@@ -93,6 +95,8 @@ def __init__(
93
95
- "broadcast" (Optional, bool, default to True): whether to update the compressed message history to sender.
94
96
- "verbose" (Optional, bool, default to False): Whether to print the content before and after compression. Used when mode="COMPRESS".
95
97
- "leave_last_n" (Optional, int, default to 0): If provided, the last n messages will not be compressed. Used when mode="COMPRESS".
98
+ description (str): a short description of the agent. This description is used by other agents
99
+ (e.g. the GroupChatManager) to decide when to call upon this agent. (Default: system_message)
96
100
**kwargs (dict): Please refer to other kwargs in
97
101
[ConversableAgent](../conversable_agent#__init__).
98
102
"""
@@ -106,6 +110,8 @@ def __init__(
106
110
code_execution_config = code_execution_config ,
107
111
llm_config = llm_config ,
108
112
default_auto_reply = default_auto_reply ,
113
+ description = description ,
114
+ ** kwargs ,
109
115
)
110
116
111
117
self ._set_compress_config (compress_config )
0 commit comments