From 4da0c632316548a8138bf06d70efb6fd9531cca1 Mon Sep 17 00:00:00 2001 From: Troy Mitchell Date: Tue, 28 Apr 2026 16:55:36 +0800 Subject: [PATCH] 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 --- plano_config.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 plano_config.yaml diff --git a/plano_config.yaml b/plano_config.yaml new file mode 100644 index 00000000..9d39b622 --- /dev/null +++ b/plano_config.yaml @@ -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 +