mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-16 11:24:35 +08:00
Add the retry overlay file and register it in workflow.yaml
Completes the prior commit: 408/429 join 5XX via x-speakeasy-retries overlay. Verified offline with `speakeasy overlay apply`: statusCodes -> [5XX, 408, 429]. Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
overlay: 1.0.0
|
||||
x-speakeasy-jsonpath: rfc9535
|
||||
info:
|
||||
title: Retry request-timeout and rate-limit responses
|
||||
version: 0.0.0
|
||||
actions:
|
||||
- target: $["x-speakeasy-retries"].statusCodes
|
||||
description: Also retry 408 (request timeout) and 429 (rate limit), not just 5XX
|
||||
update:
|
||||
- "408"
|
||||
- "429"
|
||||
Reference in New Issue
Block a user