feat: update model version in example cases

This commit is contained in:
Yuhang Zhou
2026-02-15 01:29:11 +08:00
parent ab9e829718
commit d3e34caaa3
3 changed files with 11 additions and 11 deletions

View File

@@ -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},
)
}

View File

@@ -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},
)
}

View File

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