From d3e34caaa3060af36133d9f7eb7a16ada5da1c1f Mon Sep 17 00:00:00 2001 From: Yuhang Zhou <1677382760@qq.com> Date: Sun, 15 Feb 2026 01:29:11 +0800 Subject: [PATCH] feat: update model version in example cases --- examples/run.py | 4 ++-- examples/run_claude.py | 16 ++++++++-------- examples/run_vllm.py | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/run.py b/examples/run.py index 1fc3476..2c02a0c 100644 --- a/examples/run.py +++ b/examples/run.py @@ -176,7 +176,7 @@ def construct_workforce() -> Workforce: coordinator_agent_kwargs = { "model": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4O, + model_type=ModelType.GPT_5_2, model_config_dict={"temperature": 0}, ) } @@ -184,7 +184,7 @@ def construct_workforce() -> Workforce: task_agent_kwargs = { "model": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4O, + model_type=ModelType.GPT_5_2, model_config_dict={"temperature": 0}, ) } diff --git a/examples/run_claude.py b/examples/run_claude.py index 65da74f..0cdcaee 100644 --- a/examples/run_claude.py +++ b/examples/run_claude.py @@ -58,37 +58,37 @@ def construct_agent_list() -> List[Dict[str, Any]]: web_model = ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) document_processing_model = ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) reasoning_model = ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) image_analysis_model = ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) browsing_model = ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) planning_model = ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) @@ -185,7 +185,7 @@ def construct_workforce() -> Workforce: coordinator_agent_kwargs = { "model": ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) } @@ -193,7 +193,7 @@ def construct_workforce() -> Workforce: task_agent_kwargs = { "model": ModelFactory.create( model_platform=ModelPlatformType.ANTHROPIC, - model_type=ModelType.CLAUDE_3_7_SONNET, + model_type=ModelType.CLAUDE_OPUS_4_6, model_config_dict={"temperature": 0}, ) } diff --git a/examples/run_vllm.py b/examples/run_vllm.py index 32994f0..5056b5f 100644 --- a/examples/run_vllm.py +++ b/examples/run_vllm.py @@ -76,7 +76,7 @@ def construct_agent_list() -> List[Dict[str, Any]]: # Get configuration from environment variables api_url = os.getenv("VLLM_API_URL", "http://localhost:8000/v1") api_key = os.getenv("VLLM_API_KEY", None) - model_name = os.getenv("VLLM_MODEL_NAME", "meta-llama/Llama-2-7b-chat-hf") + model_name = os.getenv("VLLM_MODEL_NAME", "meta-llama/Llama-3.1-8B-Instruct") web_model = ModelFactory.create( model_platform=ModelPlatformType.OPENAI_COMPATIBLE_MODEL,