Merge branch 'da_change' into 'mgx_ops'

minor update

See merge request pub/MetaGPT!315
This commit is contained in:
张雷 2024-08-15 06:04:09 +00:00
commit 0abd4e6f16
2 changed files with 7 additions and 0 deletions

View file

@ -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"

View file

@ -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",
]