plano/tests/e2e/configs/retry_it1_basic_429.yaml
Troy Mitchell 09a5fea8ba e2e: add retry/failover test configuration files
Add 13 test-specific plano configs covering:
- Basic 429/503 retry scenarios
- Multi-provider failover with priority ordering
- Max attempts and backoff delay verification
- Retry-After header honoring and blocking
- Timeout-triggered retry
- High latency failover
- Streaming retry
- Request body preservation across retries

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

23 lines
588 B
YAML

version: v0.3.0
listeners:
- type: model
name: model_listener
port: 12000
model_providers:
- model: openai/gpt-4o
base_url: http://host.docker.internal:${MOCK_PRIMARY_PORT}
access_key: test-key-primary
default: true
retry_policy:
default_strategy: "different_provider"
default_max_attempts: 2
on_status_codes:
- codes: [429]
strategy: "different_provider"
max_attempts: 2
- model: anthropic/claude-3-5-sonnet
base_url: http://host.docker.internal:${MOCK_SECONDARY_PORT}
access_key: test-key-secondary