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>
This commit is contained in:
Troy Mitchell 2026-04-28 16:55:36 +08:00
parent 7fecea17f7
commit 4da0c63231

22
plano_config.yaml Normal file
View file

@ -0,0 +1,22 @@
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