Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

add missing const for img

garylin2099e0653814a2df
diff --git a/metagpt/const.py b/metagpt/const.py
index 17ce9210a..0dfe9e5ec 100644
--- a/metagpt/const.py
+++ b/metagpt/const.py
@@ -149,6 +149,7 @@ METAGPT_REPORTER_DEFAULT_URL = os.environ.get("METAGPT_REPORTER_URL", "")
# Metadata defines
AGENT = "agent"
+IMAGES = "images"
# SWE agent
SWE_SETUP_PATH = get_metagpt_package_root() / "metagpt/tools/swe_agent_commands/setup_default.sh"
diff --git a/metagpt/provider/constant.py b/metagpt/provider/constant.py
index dee78dc3b..1e372b07f 100644
--- a/metagpt/provider/constant.py
+++ b/metagpt/provider/constant.py
@@ -29,3 +29,9 @@ GENERAL_FUNCTION_SCHEMA = {
# tool_choice value for general_function_schema
# https://platform.openai.com/docs/api-reference/chat/create#chat-create-tool_choice
GENERAL_TOOL_CHOICE = {"type": "function", "function": {"name": "execute"}}
+
+
+MULTI_MODAL_MODELS = [
+ "gpt-4o",
+ "gpt-4o-mini",
+]