mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-09-09 11:27:54 +08:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e39d32cbb | ||
|
|
31e1fbac0c | ||
|
|
d159a17d88 | ||
|
|
12ce0d4304 | ||
|
|
ef31bc8283 | ||
|
|
bae00aae15 |
@@ -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"
|
||||
@@ -11,6 +11,7 @@ sources:
|
||||
- location: .speakeasy/overlays/allof-simplify.overlay.yaml
|
||||
- location: .speakeasy/overlays/boolean-query-params.overlay.yaml
|
||||
- location: .speakeasy/overlays/fix-nullable-pagination.overlay.yaml
|
||||
- location: .speakeasy/overlays/retry-transient-status-codes.overlay.yaml
|
||||
output: .speakeasy/out.openapi.yaml
|
||||
registry:
|
||||
location: registry.speakeasyapi.dev/openrouter/sdk/open-router-chat-completions-api
|
||||
|
||||
Reference in New Issue
Block a user