You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: autogen/agentchat/conversable_agent.py
+18-16
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ class ConversableAgent(LLMAgent):
65
65
`run_code`, and `execute_function` methods respectively.
66
66
"""
67
67
68
-
DEFAULT_CONFIG={}# An empty configuration
68
+
DEFAULT_CONFIG=False# False or dict, the default config for llm inference
69
69
MAX_CONSECUTIVE_AUTO_REPLY=100# maximum number of consecutive auto replies (subject to future change)
70
70
71
71
DEFAULT_SUMMARY_PROMPT="Summarize the takeaway from the conversation. Do not add any introductory phrases."
@@ -123,7 +123,9 @@ def __init__(
123
123
llm_config (dict or False or None): llm inference configuration.
124
124
Please refer to [OpenAIWrapper.create](/docs/reference/oai/client#create)
125
125
for available options.
126
+
When using OpenAI or Azure OpenAI endpoints, please specify a non-empty 'model' either in `llm_config` or in each config of 'config_list' in `llm_config`.
126
127
To disable llm-based auto reply, set to False.
128
+
When set to None, will use self.DEFAULT_CONFIG, which defaults to False.
127
129
default_auto_reply (str or dict): default auto reply when no code execution or llm-based reply is generated.
128
130
description (str): a short description of the agent. This description is used by other agents
129
131
(e.g. the GroupChatManager) to decide when to call upon this agent. (Default: system_message)
"description": "Learn how to implement both synchronous and asynchronous function calls using AssistantAgent and UserProxyAgent in AutoGen, with examples of their application in individual and group chat settings for task execution with language models."
365
+
"description": "Learn how to implement both synchronous and asynchronous function calls using AssistantAgent and UserProxyAgent in AutoGen, with examples of their application in individual and group chat settings for task execution with language models.",
0 commit comments