From 87ed44627a5246062af959d94d21760f8e4621d2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 20 Nov 2026 09:48:46 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.803.2 --- .speakeasy/gen.lock | 36 +++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 2 +- .speakeasy/workflow.lock | 10 +++--- RELEASES.md | 12 ++++++- docs/components/publicendpoint.mdx | 2 +- docs/components/publiczdrendpoint.mdx | 2 +- pyproject.toml | 2 +- src/openrouter/_version.py | 4 +-- src/openrouter/components/publicendpoint.py | 4 +-- .../components/publiczdrendpoint.py | 4 +-- uv.lock | 2 +- 12 files changed, 46 insertions(+), 36 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 296be5638..f51a5792b 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: c48cf606-fb42-4a45-9c23-8f0555307828 management: - docChecksum: c5cb0e8ef826a7612fbc2d3472f5735c + docChecksum: 936bc87600134a3cd6c6d2436a7db647 docVersion: 1.0.0 speakeasyVersion: 1.803.2 generationVersion: 2.950.13 - releaseVersion: 1.3.198 - configChecksum: 3de4306f10419dc38b535a8666980613 + releaseVersion: 1.3.199 + configChecksum: e66889c47cf2fe7878e5b3fcbb228f35 repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: f6f41236-50d5-400c-b735-a9a4ce0941a1 - pristine_commit_hash: c815b935bc68a90eef86ff4de1dabf7234719063 - pristine_tree_hash: 2faaa2f33d2d207e5961866ba8a2145a94ad8cfd + generation_id: 0de74b8c-7af2-4b20-99a2-4fa0a73a00c5 + pristine_commit_hash: 24923e75d03818eb8aa7a1fc0c3031024f0dcaaa + pristine_tree_hash: acf1b175cf0e5dc5d1df6c46f9278ca24c67a6ae features: python: acceptHeaders: 3.0.0 @@ -7472,8 +7472,8 @@ trackedFiles: pristine_git_object: d9306e318703358faed9c32cf8d4e01796aee894 docs/components/publicendpoint.mdx: id: ec4843ef5d86 - last_write_checksum: sha1:b05740987f5615a18b05abc526bf3fbea99c5873 - pristine_git_object: d30bd03292b94f1b13b7aa959cfc7df895219c18 + last_write_checksum: sha1:0aabe765e723ee7c3679c8272710004ef3202118 + pristine_git_object: 3def9b31d08d74324be28111b183ac748108b07e docs/components/publicpricing.mdx: id: 61fb18b7ff94 last_write_checksum: sha1:981ee8d2b9e82542e458482083430337cc679f13 @@ -7484,8 +7484,8 @@ trackedFiles: pristine_git_object: 523d50326413b82c2b177810f9316f6a29967f94 docs/components/publiczdrendpoint.mdx: id: a7b6fd35cd0a - last_write_checksum: sha1:07a130c7902c3c1b307d88d5698930d8570a46a6 - pristine_git_object: 1802fa7faa8ebcace9e0c43d9c5a8898da7275e2 + last_write_checksum: sha1:b013ed0c5a1e9e1d0d1b7bf9713dcfbed6bae1ca + pristine_git_object: 62f634de433a51eb2b0f720ef8ef86b781bced1c docs/components/purpose.mdx: id: ae295e1d0077 last_write_checksum: sha1:0254976b545dce44c49a9bff2cdfbe687d5fe749 @@ -11828,8 +11828,8 @@ trackedFiles: pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:dcd8f82c611dd77cbf111395368b1dd568b9cf71 - pristine_git_object: 9cf9619bd1f030368e5bca0eb561fe87e8c35a0e + last_write_checksum: sha1:f87be8d02f1067356fbab424f3009ef4c4e9e4eb + pristine_git_object: 1015f2673f010f1869c322b2fb8d9acb87c39406 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -11856,8 +11856,8 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:356ef5df633f407a14440f8db03d041830f9f8f4 - pristine_git_object: 0d83e9bdec9e89d316dcf02c90bbbdd58f76795a + last_write_checksum: sha1:04469c11d3261b1b837dc67b37e5040831ad8a72 + pristine_git_object: 8e8c233dcbb00d3b13a4ef5128dd8b3aa0bbe793 src/openrouter/alpha.py: id: 306c4d93308d last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766 @@ -14892,8 +14892,8 @@ trackedFiles: pristine_git_object: 1798ae9dd8c2e4b629bb99cc5c643827895e8231 src/openrouter/components/publicendpoint.py: id: 848aa2ef9129 - last_write_checksum: sha1:24c17812df5c49d3491117fe1c215c47aef83c73 - pristine_git_object: 75eb8e640f7faf5486520c19b5fb131c44255306 + last_write_checksum: sha1:60896300517087553dfd9589f5bf6aacdadde6f4 + pristine_git_object: 62afd71386c722b497155417e4985441273c5c1c src/openrouter/components/publicpricing.py: id: 96d115d83cc5 last_write_checksum: sha1:fd8c320ac83b282eaf2405045329b55076d4311a @@ -14904,8 +14904,8 @@ trackedFiles: pristine_git_object: 280a4f38f716950fdf00b966409cef5a37d3d6b6 src/openrouter/components/publiczdrendpoint.py: id: 96f5b682772d - last_write_checksum: sha1:b61dd30ae315ff73c1173295465ac8518c552fc0 - pristine_git_object: ab5747e096bd23add5166d02c20d12026ca9a2bb + last_write_checksum: sha1:fb9fdaeed04b6db44ecdb0a778ba3348ee6e85b1 + pristine_git_object: 52f9eedce39b6a3ffada31c5bec494c56175cf46 src/openrouter/components/quantization.py: id: bde317b3d703 last_write_checksum: sha1:cc9c8d954733d128b53938fbc403bf97b064c09c diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 62f66c961..07069929a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -37,7 +37,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.3.198 + version: 1.3.199 additionalDependencies: dev: pytest: '>=8.3' diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 52d57760e..abed6772b 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -32012,7 +32012,7 @@ components: $ref: '#/components/schemas/Parameter' type: 'array' supports_diarization: - description: 'Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support.' + description: 'Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`.' type: 'boolean' supports_image_reference: default: false diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 6bfdd5269..8e3a886e2 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.803.2 sources: OpenRouter API: sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:dc232f583c49b5d79235dd686e6c3a1b84ffbefa660d0fd2708a23e55a3c3e54 - sourceBlobDigest: sha256:2c06e1cc6b1b44eef5ee57c34e3eaf9ad4d13c88712a9316710830b39d05a775 + sourceRevisionDigest: sha256:ae49b4c628d6a2059661cb47a6dac8afe52fd5f8440a78961a2e93cbf18fed4e + sourceBlobDigest: sha256:f13b6c21e2288d3058bbdb7d8cd29fb6f88a3d84d9f1024022a69a055896a978 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:dc232f583c49b5d79235dd686e6c3a1b84ffbefa660d0fd2708a23e55a3c3e54 - sourceBlobDigest: sha256:2c06e1cc6b1b44eef5ee57c34e3eaf9ad4d13c88712a9316710830b39d05a775 + sourceRevisionDigest: sha256:ae49b4c628d6a2059661cb47a6dac8afe52fd5f8440a78961a2e93cbf18fed4e + sourceBlobDigest: sha256:f13b6c21e2288d3058bbdb7d8cd29fb6f88a3d84d9f1024022a69a055896a978 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:7497b19b700e1cef989c80d809d7f763872ca7d5e28300282a58181aace7fc78 + codeSamplesRevisionDigest: sha256:aef7c014c1f9f1b8ba47444903eb5218813884e20aeda5ca5bf3a61cc20df1c5 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.803.2 diff --git a/RELEASES.md b/RELEASES.md index 77bd0c26c..ac52e0825 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -4749,4 +4749,14 @@ Based on: ### Generated - [python v1.3.198] . ### Releases -- [PyPI v1.3.198] https://pypi.org/project/openrouter/1.3.198 - . \ No newline at end of file +- [PyPI v1.3.198] https://pypi.org/project/openrouter/1.3.198 - . + +## 2026-11-20 09:45:58 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.3.199] . +### Releases +- [PyPI v1.3.199] https://pypi.org/project/openrouter/1.3.199 - . \ No newline at end of file diff --git a/docs/components/publicendpoint.mdx b/docs/components/publicendpoint.mdx index d30bd0329..3def9b31d 100644 --- a/docs/components/publicendpoint.mdx +++ b/docs/components/publicendpoint.mdx @@ -24,7 +24,7 @@ Information about a specific model endpoint | `service_tier` | [Nullable[components.PublicServiceTier]](../components/publicservicetier.mdx) | ✔️ | The service tier this endpoint sells, or null for a standard endpoint. The same value whether the provider selects the tier with a request parameter or with a dedicated model id. Always the canonical tier: priority covers the fast request alias and the turbo, highspeed, and prime provider model-id spellings, none of which this field reports. | priority | | `status` | [Optional[components.EndpointStatus]](../components/endpointstatus.mdx) | ➖ | N/A | 0 | | `supported_parameters` | List[[components.Parameter](../components/parameter.mdx)] | ✔️ | N/A | | -| `supports_diarization` | *bool* | ✔️ | Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support. | | +| `supports_diarization` | *bool* | ✔️ | Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`. | | | `supports_image_reference` | *Optional[bool]* | ➖ | Whether this TTS endpoint accepts an `image_url` reference describing the desired voice. Requests carrying an image reference are only routed to endpoints where this is true. | | | `supports_implicit_caching` | *bool* | ✔️ | N/A | | | `supports_multiple_audio_references` | *Optional[bool]* | ➖ | Whether this TTS endpoint accepts more than one `input_audio` reference clip per request. Requests carrying several clips are only routed to endpoints where this is true. | | diff --git a/docs/components/publiczdrendpoint.mdx b/docs/components/publiczdrendpoint.mdx index 1802fa7fa..62f634de4 100644 --- a/docs/components/publiczdrendpoint.mdx +++ b/docs/components/publiczdrendpoint.mdx @@ -24,7 +24,7 @@ An endpoint whose data policy does not retain prompts by default | `service_tier` | [Nullable[components.PublicServiceTier]](../components/publicservicetier.mdx) | ✔️ | The service tier this endpoint sells, or null for a standard endpoint. The same value whether the provider selects the tier with a request parameter or with a dedicated model id. Always the canonical tier: priority covers the fast request alias and the turbo, highspeed, and prime provider model-id spellings, none of which this field reports. | priority | | `status` | [Optional[components.EndpointStatus]](../components/endpointstatus.mdx) | ➖ | N/A | 0 | | `supported_parameters` | List[[components.Parameter](../components/parameter.mdx)] | ✔️ | N/A | | -| `supports_diarization` | *bool* | ✔️ | Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support. | | +| `supports_diarization` | *bool* | ✔️ | Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`. | | | `supports_image_reference` | *Optional[bool]* | ➖ | Whether this TTS endpoint accepts an `image_url` reference describing the desired voice. Requests carrying an image reference are only routed to endpoints where this is true. | | | `supports_implicit_caching` | *bool* | ✔️ | N/A | | | `supports_multiple_audio_references` | *Optional[bool]* | ➖ | Whether this TTS endpoint accepts more than one `input_audio` reference clip per request. Requests carrying several clips are only routed to endpoints where this is true. | | diff --git a/pyproject.toml b/pyproject.toml index 9cf9619bd..1015f2673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.3.198" +version = "1.3.199" description = "Official Python Client SDK for OpenRouter." authors = [{ name = "OpenRouter" },] readme = "README-PYPI.md" diff --git a/src/openrouter/_version.py b/src/openrouter/_version.py index 0d83e9bde..8e8c233dc 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "1.3.198" +__version__: str = "1.3.199" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.950.13" -__user_agent__: str = "speakeasy-sdk/python 1.3.198 2.950.13 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.3.199 2.950.13 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/components/publicendpoint.py b/src/openrouter/components/publicendpoint.py index 75eb8e640..62afd7138 100644 --- a/src/openrouter/components/publicendpoint.py +++ b/src/openrouter/components/publicendpoint.py @@ -39,7 +39,7 @@ class PublicEndpointTypedDict(TypedDict): r"""The service tier this endpoint sells, or null for a standard endpoint. The same value whether the provider selects the tier with a request parameter or with a dedicated model id. Always the canonical tier: priority covers the fast request alias and the turbo, highspeed, and prime provider model-id spellings, none of which this field reports.""" supported_parameters: List[Parameter] supports_diarization: bool - r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support.""" + r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`.""" supports_implicit_caching: bool supports_tool_choice: ToolChoiceSupportTypedDict r"""Per-variant `tool_choice` support. `tool_choice` in `supported_parameters` only says the parameter is accepted; these flags say which of its values passed testing.""" @@ -96,7 +96,7 @@ class PublicEndpoint(BaseModel): supported_parameters: List[Parameter] supports_diarization: bool - r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support.""" + r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`.""" supports_implicit_caching: bool diff --git a/src/openrouter/components/publiczdrendpoint.py b/src/openrouter/components/publiczdrendpoint.py index ab5747e09..52f9eedce 100644 --- a/src/openrouter/components/publiczdrendpoint.py +++ b/src/openrouter/components/publiczdrendpoint.py @@ -39,7 +39,7 @@ class PublicZdrEndpointTypedDict(TypedDict): r"""The service tier this endpoint sells, or null for a standard endpoint. The same value whether the provider selects the tier with a request parameter or with a dedicated model id. Always the canonical tier: priority covers the fast request alias and the turbo, highspeed, and prime provider model-id spellings, none of which this field reports.""" supported_parameters: List[Parameter] supports_diarization: bool - r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support.""" + r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`.""" supports_implicit_caching: bool supports_tool_choice: ToolChoiceSupportTypedDict r"""Per-variant `tool_choice` support. `tool_choice` in `supported_parameters` only says the parameter is accepted; these flags say which of its values passed testing.""" @@ -98,7 +98,7 @@ class PublicZdrEndpoint(BaseModel): supported_parameters: List[Parameter] supports_diarization: bool - r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). False when the endpoint has not declared support.""" + r"""Whether this STT endpoint can label each transcript segment with a speaker (speaker diarization). For transcription endpoints, derived from the serving STT adapter: true when that adapter supports `diarize: true` for this model. Diarized requests also need `response_format: verbose_json`.""" supports_implicit_caching: bool diff --git a/uv.lock b/uv.lock index 98fff0e66..f953bff63 100644 --- a/uv.lock +++ b/uv.lock @@ -231,7 +231,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.3.198" +version = "1.3.199" source = { editable = "." } dependencies = [ { name = "httpcore" }, From b936cae8596efe6b2356c2424aad853ebcb1e3c5 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 09:48:54 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow