From 34e055c6d032bebfbe0cefd4cd1f7c485ece5416 Mon Sep 17 00:00:00 2001 From: Beibin Li Date: Thu, 21 Dec 2023 21:11:56 -0800 Subject: [PATCH] Change defualt model for `lmm` (#1032) --- autogen/agentchat/contrib/multimodal_conversable_agent.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autogen/agentchat/contrib/multimodal_conversable_agent.py b/autogen/agentchat/contrib/multimodal_conversable_agent.py index 9a8c36591e9d..e6f3720186c5 100644 --- a/autogen/agentchat/contrib/multimodal_conversable_agent.py +++ b/autogen/agentchat/contrib/multimodal_conversable_agent.py @@ -16,9 +16,14 @@ def colored(x, *args, **kwargs): from autogen.code_utils import content_str DEFAULT_LMM_SYS_MSG = """You are a helpful AI assistant.""" +DEFAULT_MODEL = "gpt-4-vision-preview" class MultimodalConversableAgent(ConversableAgent): + DEFAULT_CONFIG = { + "model": DEFAULT_MODEL, + } + def __init__( self, name: str,