Files
g3/config.coach-player.example.toml
2025-12-09 17:03:53 +11:00

74 lines
2.0 KiB
TOML

# G3 Configuration Example - Coach/Player Mode
#
# This configuration demonstrates using different providers for coach and player
# roles in autonomous mode. The coach reviews code while the player implements.
[providers]
# Default provider used when no specific provider is specified
default_provider = "anthropic.default"
# Coach uses a model optimized for code review and analysis
coach = "anthropic.coach"
# Player uses a model optimized for code generation
player = "anthropic.player"
# Optional: Use a specialized model for planning mode
# planner = "anthropic.planner"
# Default Anthropic configuration
[providers.anthropic.default]
api_key = "your-anthropic-api-key"
model = "claude-sonnet-4-5"
max_tokens = 64000
temperature = 0.2
# Coach configuration - focused on careful analysis
[providers.anthropic.coach]
api_key = "your-anthropic-api-key"
model = "claude-sonnet-4-5"
max_tokens = 32000
temperature = 0.1 # Lower temperature for more consistent reviews
# Player configuration - focused on code generation
[providers.anthropic.player]
api_key = "your-anthropic-api-key"
model = "claude-sonnet-4-5"
max_tokens = 64000
temperature = 0.3 # Slightly higher for more creative implementations
# Optional: Planner configuration with extended thinking
# [providers.anthropic.planner]
# api_key = "your-anthropic-api-key"
# model = "claude-opus-4-5"
# max_tokens = 64000
# thinking_budget_tokens = 16000 # Enable extended thinking for planning
# Example: Using Databricks for one of the roles
# [providers.databricks.default]
# host = "https://your-workspace.cloud.databricks.com"
# model = "databricks-claude-sonnet-4"
# max_tokens = 4096
# temperature = 0.1
# use_oauth = true
[agent]
fallback_default_max_tokens = 8192
enable_streaming = true
timeout_seconds = 60
max_retry_attempts = 3
autonomous_max_retry_attempts = 6
allow_multiple_tool_calls = true
[computer_control]
enabled = false
require_confirmation = true
max_actions_per_second = 5
[webdriver]
enabled = false
safari_port = 4444
[macax]
enabled = false