ChatDev/yaml_instance/demo_majority_voting.yaml
laansdole 9d4a1e1f09 Revert "chores: move model name to centralized env variable"
This reverts commit d2695f9bcbb6b8b4c6c707d64951c300e796f543.
2026-01-22 22:42:00 +07:00

46 lines
983 B
YAML
Executable File

version: 0.4.0
vars: {}
graph:
id: test_majority_voting
description: Majority-voting demo across three agents.
is_majority_voting: true
start:
- A1
- A2
- A3
end: A3
nodes:
- id: A1
type: agent
config:
provider: openai
name: gpt-4o
role: You are a helpful assistant. Respond with 'Option A'
base_url: ${BASE_URL}
api_key: ${API_KEY}
params:
temperature: 0.1
max_tokens: 16
- id: A2
type: agent
config:
provider: openai
name: gpt-4o
role: You are a helpful assistant. Respond with 'Option A'
base_url: ${BASE_URL}
api_key: ${API_KEY}
params:
temperature: 0.1
max_tokens: 16
- id: A3
type: agent
config:
provider: openai
name: gpt-4o
role: You are a helpful assistant. Respond with 'Option B'
base_url: ${BASE_URL}
api_key: ${API_KEY}
params:
temperature: 0.1
max_tokens: 16