mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-02 12:50:48 +08:00
docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382)
This commit is contained in:
@@ -98,9 +98,11 @@ class Credits(BaseSDK):
|
||||
security_source=get_security_from_env(
|
||||
self.sdk_configuration.security, components.Security
|
||||
),
|
||||
tags=["Credits"],
|
||||
extensions=None,
|
||||
),
|
||||
request=req,
|
||||
error_status_codes=["401", "403", "4XX", "500", "5XX"],
|
||||
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
|
||||
retry_config=retry_config,
|
||||
)
|
||||
|
||||
@@ -221,9 +223,11 @@ class Credits(BaseSDK):
|
||||
security_source=get_security_from_env(
|
||||
self.sdk_configuration.security, components.Security
|
||||
),
|
||||
tags=["Credits"],
|
||||
extensions=None,
|
||||
),
|
||||
request=req,
|
||||
error_status_codes=["401", "403", "4XX", "500", "5XX"],
|
||||
is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c),
|
||||
retry_config=retry_config,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user