Merge branch 'mgx_ops' of gitlab.deepwisdomai.com:pub/MetaGPT into mgx_ops

This commit is contained in:
shenchucheng 2024-08-15 14:04:17 +08:00
commit 3f53d34cd0
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",
]