chore: 🐝 Update SDK - Generate (spec change merged) 0.11.9 (#406)

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-07-08 07:05:03 +00:00
committed by GitHub
co-authored by speakeasybot speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent abaad35c7e
commit 00d71ec70e
10 changed files with 67 additions and 26 deletions
+2 -2
View File
@@ -3,10 +3,10 @@
import importlib.metadata
__title__: str = "openrouter"
__version__: str = "0.11.8"
__version__: str = "0.11.9"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 0.11.8 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 0.11.9 2.914.0 1.0.0 openrouter"
try:
if __package__ is not None:
+16
View File
@@ -430,6 +430,14 @@ class Images(BaseSDK):
errors.NotFoundResponseErrorData, http_res, http_res_text
)
raise errors.NotFoundResponseError(response_data, http_res, http_res_text)
if utils.match_response(http_res, "413", "application/json"):
http_res_text = utils.stream_to_text(http_res)
response_data = unmarshal_json_response(
errors.PayloadTooLargeResponseErrorData, http_res, http_res_text
)
raise errors.PayloadTooLargeResponseError(
response_data, http_res, http_res_text
)
if utils.match_response(http_res, "429", "application/json"):
http_res_text = utils.stream_to_text(http_res)
response_data = unmarshal_json_response(
@@ -902,6 +910,14 @@ class Images(BaseSDK):
errors.NotFoundResponseErrorData, http_res, http_res_text
)
raise errors.NotFoundResponseError(response_data, http_res, http_res_text)
if utils.match_response(http_res, "413", "application/json"):
http_res_text = await utils.stream_to_text_async(http_res)
response_data = unmarshal_json_response(
errors.PayloadTooLargeResponseErrorData, http_res, http_res_text
)
raise errors.PayloadTooLargeResponseError(
response_data, http_res, http_res_text
)
if utils.match_response(http_res, "429", "application/json"):
http_res_text = await utils.stream_to_text_async(http_res)
response_data = unmarshal_json_response(