mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
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>
31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
workflowVersion: 1.0.0
|
|
speakeasyVersion: 1.787.0
|
|
sources:
|
|
OpenRouter API:
|
|
inputs:
|
|
- location: .speakeasy/in.openapi.yaml
|
|
overlays:
|
|
- location: .speakeasy/overlays/open-enums.overlay.yaml
|
|
- location: .speakeasy/overlays/remove-rss-responses.overlay.yaml
|
|
- location: .speakeasy/overlays/add-headers.overlay.yaml
|
|
- 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
|
|
targets:
|
|
open-router:
|
|
target: python
|
|
source: OpenRouter API
|
|
publish:
|
|
pypi:
|
|
token: $pypi_token
|
|
codeSamples:
|
|
registry:
|
|
location: registry.speakeasyapi.dev/openrouter/sdk/open-router-python-code-samples
|
|
labelOverride:
|
|
fixedValue: Python (SDK)
|
|
blocking: false
|