plano/plano_config.yaml
Troy Mitchell 4da0c63231 add example plano_config.yaml with retry/failover settings
Provide a minimal example configuration demonstrating retry and
multi-provider failover setup with OpenAI and Anthropic providers.

Signed-off-by: Troy Mitchell <i@troy-y.org>
2026-04-28 17:42:48 +08:00

22 lines
552 B
YAML

version: v0.3.0
listeners:
- type: model
name: model_1
address: 0.0.0.0
port: 12000
model_providers:
- access_key: $OPENAI_API_KEY
default: true
model: openai/gpt-4o
retry_on_ratelimit: true
max_retries: 2
retry_to_same_provider: false # If false, Plano will pick another random model from the list
retry_backoff_base_ms: 25 # Base delay for exponential backoff
retry_backoff_max_ms: 1000 # Maximum delay for exponential backoff
- access_key: $ANTHROPIC_API_KEY
model: anthropic/claude-sonnet-4-5