37 lines
1.9 KiB
TOML
37 lines
1.9 KiB
TOML
[providers]
|
|
default_provider = "databricks"
|
|
# Specify different providers for coach and player in autonomous mode
|
|
coach = "databricks" # Provider for coach (code reviewer) - can be more powerful/expensive
|
|
player = "anthropic" # Provider for player (code implementer) - can be faster/cheaper
|
|
|
|
[providers.databricks]
|
|
host = "https://your-workspace.cloud.databricks.com"
|
|
# token = "your-databricks-token" # Optional - will use OAuth if not provided
|
|
model = "databricks-claude-sonnet-4"
|
|
max_tokens = 4096
|
|
temperature = 0.1
|
|
use_oauth = true
|
|
# cache_config = "ephemeral" # Optional: Enable prompt caching for Claude models
|
|
# Options: "ephemeral", "5minute", "1hour"
|
|
# Reduces costs and latency for repeated prompts. Uses Anthropic's prompt caching with different TTLs.
|
|
# The cache control will be automatically applied to:
|
|
# - The system prompt at the start of each session
|
|
# - Assistant responses after every 10 tool calls
|
|
# - 5minute costs $3/mtok, more details below
|
|
# https://docs.claude.com/en/docs/build-with-claude/prompt-caching#pricing
|
|
|
|
[providers.anthropic]
|
|
api_key = "your-anthropic-api-key"
|
|
model = "claude-sonnet-4-5"
|
|
max_tokens = 4096
|
|
temperature = 0.3 # Slightly higher temperature for more creative implementations
|
|
# cache_config = "ephemeral" # Optional: Enable prompt caching
|
|
# Options: "ephemeral", "5minute", "1hour"
|
|
# Reduces costs and latency for repeated prompts. Uses Anthropic's prompt caching with different TTLs.
|
|
# enable_1m_context = true # optional, more expensive
|
|
|
|
[agent]
|
|
fallback_default_max_tokens = 8192
|
|
enable_streaming = true
|
|
timeout_seconds = 60
|
|
allow_multiple_tool_calls = true # Enable multiple tool calls, will usually only work with Anthropic |