From 276b5b9c8f3c95aed518ad1fe869aa79a3296747 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 22 Sep 2026 06:38:05 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.787.0 --- .speakeasy/gen.lock | 32 ++++++++++++++++---------------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 4 ++-- .speakeasy/workflow.lock | 10 +++++----- RELEASES.md | 12 +++++++++++- docs/sdks/decisions/README.mdx | 6 +++--- pyproject.toml | 2 +- src/openrouter/_version.py | 4 ++-- src/openrouter/alpha.py | 2 +- src/openrouter/decisions.py | 6 +++--- uv.lock | 2 +- 11 files changed, 46 insertions(+), 36 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 7c193d8b..d5879a69 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: 9c5151a593a4d1b7cccb1069c2c32cc6 + docChecksum: 31349966d46612ca1227969d47b0f79d docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 1.2.16 - configChecksum: a564b713ccaad5bfd29591346750b4ea + releaseVersion: 1.2.17 + configChecksum: bb76a8c34d1d398450baf42db21a0bea repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: c7b981ff-44cf-4ae7-b4f1-53563dee307f - pristine_commit_hash: 795e7805783c8d6232637af90632df6a3bca8761 - pristine_tree_hash: 1cd8b0e9e6756526a5a2939b56f0c118ba68fd80 + generation_id: 902418ca-b0ac-4d26-a027-8b8646cd50ab + pristine_commit_hash: 8fd52a1f96830c7b21c500eef71de62225323163 + pristine_tree_hash: 84a1f403408d6a221541c7cd82c2b642aad62a25 features: python: acceptHeaders: 3.0.0 @@ -8111,8 +8111,8 @@ trackedFiles: pristine_git_object: fe31c0f4f765b9f8f3cf79f6dd403e730589db80 docs/sdks/decisions/README.mdx: id: a52a116ee1f3 - last_write_checksum: sha1:91c34ca5818123e19785423bf83e485f44553343 - pristine_git_object: 448cdd782ccfa4628b0a6f2d34e58c041654dfd4 + last_write_checksum: sha1:e8a179cef5626b9ecdd0deb1a5561272310c433f + pristine_git_object: 0d2c73720a9e7566c5d04d9b580d500090708e18 docs/sdks/embeddings/README.mdx: id: cd71581df291 last_write_checksum: sha1:2a965ecfe30c04bc70a42846e3b81523ac2db026 @@ -8207,8 +8207,8 @@ trackedFiles: pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:31aa63d33f418d703916ec3f9210f5db952fd48a - pristine_git_object: 9797285f4483debdb38f6f18920aa5d6d353c6d8 + last_write_checksum: sha1:6c189e106ad5654791db954205dc629c2cb2684b + pristine_git_object: f4db2089c5ab234eef116f55de260cbce0f0c78f scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -8235,12 +8235,12 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:ad76215ad9f4d2596339941e02d144c4e0bd5d5c - pristine_git_object: 2483053dcf19c3252dfeb645a7df521651e0d13a + last_write_checksum: sha1:771dab4611c6122dc3c77f114d232c4a3eae4d4d + pristine_git_object: 9940829d7ec9f4466c80a29dcbf939b9c0418d8a src/openrouter/alpha.py: id: 306c4d93308d - last_write_checksum: sha1:0c25a52ed5fb688ec1e923e4e82bcfc9cae49465 - pristine_git_object: 785d065a4072de96cce85556d2f87f35d6046c29 + last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a + pristine_git_object: ae90121fa5d2d4bab7294f22f42d2251bce6690d src/openrouter/analytics.py: id: cb406b5aaabb last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9 @@ -11059,8 +11059,8 @@ trackedFiles: pristine_git_object: 0532cef994643793368c4484b8af0d247be2692e src/openrouter/decisions.py: id: 811fe0f48b6e - last_write_checksum: sha1:d8c6555fba358f0e2df5503aa8ee148b6aa25200 - pristine_git_object: 49c5419d81097b7be8c695ae472cbbed644b1b46 + last_write_checksum: sha1:29621f7bd633a75cc0abb28dbdc4a065e54c1cf2 + pristine_git_object: f88c0d9cfa21d00f7f8a82388b1e6566d5c555cb src/openrouter/embeddings.py: id: 0374ace39067 last_write_checksum: sha1:851a42c11af6b35186c99f8a6635f9be28782786 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 39b97e54..5d30b9ee 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.2.16 + version: 1.2.17 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 8c4d27ca..2c2f4876 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -30696,7 +30696,7 @@ paths: description: 'Provider Overloaded - Provider is temporarily overloaded' servers: - url: 'https://openrouter.ai' - summary: 'Submit a Decisions (questions and answers) request' + summary: 'Submit a Decisions request' tags: - 'alpha.decisions' x-speakeasy-name-override: 'create' @@ -47061,7 +47061,7 @@ tags: name: 'Video Generation' - description: 'Workspaces endpoints' name: 'Workspaces' - - description: 'Alpha feature endpoints for Decisions (questions and answers) requests' + - description: 'Alpha feature endpoints for Decisions requests' name: 'alpha.decisions' - name: beta.responses deprecated: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 72d7c148..1b790d58 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.787.0 sources: OpenRouter API: sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:3c262fd45e5ef090ed0fe3361cb63f840acc29259c8cedc8f938e03626bc6c9e - sourceBlobDigest: sha256:caa625891df873f2db74aac30f95e31242b4c2ace91632e1a4e72feb309853a1 + sourceRevisionDigest: sha256:b88ce143504fa636ab1ce340b074e908ef47198f4736434782a277c0d5709fab + sourceBlobDigest: sha256:fd1aa7ea365cb77a6c93d5515543aa91241936ece9c2994c0da521116fd13085 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:3c262fd45e5ef090ed0fe3361cb63f840acc29259c8cedc8f938e03626bc6c9e - sourceBlobDigest: sha256:caa625891df873f2db74aac30f95e31242b4c2ace91632e1a4e72feb309853a1 + sourceRevisionDigest: sha256:b88ce143504fa636ab1ce340b074e908ef47198f4736434782a277c0d5709fab + sourceBlobDigest: sha256:fd1aa7ea365cb77a6c93d5515543aa91241936ece9c2994c0da521116fd13085 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:645955dceed70064b78760e97893f80d962fd71f617067457ae7ec2f07a601f7 + codeSamplesRevisionDigest: sha256:8d3ceabf9e251715fd0267cd7465620e3c50490e9dd7dc41af2eb649f4552830 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.787.0 diff --git a/RELEASES.md b/RELEASES.md index d2292906..71cf4946 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -2569,4 +2569,14 @@ Based on: ### Generated - [python v1.2.16] . ### Releases -- [PyPI v1.2.16] https://pypi.org/project/openrouter/1.2.16 - . \ No newline at end of file +- [PyPI v1.2.16] https://pypi.org/project/openrouter/1.2.16 - . + +## 2026-09-22 06:35:44 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.2.17] . +### Releases +- [PyPI v1.2.17] https://pypi.org/project/openrouter/1.2.17 - . \ No newline at end of file diff --git a/docs/sdks/decisions/README.mdx b/docs/sdks/decisions/README.mdx index 448cdd78..0d2c7372 100644 --- a/docs/sdks/decisions/README.mdx +++ b/docs/sdks/decisions/README.mdx @@ -1,15 +1,15 @@ --- title: "Alpha.Decisions" -description: "Alpha feature endpoints for Decisions (questions and answers) requests" +description: "Alpha feature endpoints for Decisions requests" --- ## Overview -Alpha feature endpoints for Decisions (questions and answers) requests +Alpha feature endpoints for Decisions requests ### Available Operations -* [create](#create) - Submit a Decisions (questions and answers) request +* [create](#create) - Submit a Decisions request ## create diff --git a/pyproject.toml b/pyproject.toml index 9797285f..f4db2089 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.2.16" +version = "1.2.17" 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 2483053d..9940829d 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "1.2.16" +__version__: str = "1.2.17" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.914.0" -__user_agent__: str = "speakeasy-sdk/python 1.2.16 2.914.0 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.2.17 2.914.0 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/alpha.py b/src/openrouter/alpha.py index 785d065a..ae90121f 100644 --- a/src/openrouter/alpha.py +++ b/src/openrouter/alpha.py @@ -8,7 +8,7 @@ class Alpha(BaseSDK): decisions: Decisions - r"""Alpha feature endpoints for Decisions (questions and answers) requests""" + r"""Alpha feature endpoints for Decisions requests""" def __init__( self, sdk_config: SDKConfiguration, parent_ref: Optional[object] = None diff --git a/src/openrouter/decisions.py b/src/openrouter/decisions.py index 49c5419d..f88c0d9c 100644 --- a/src/openrouter/decisions.py +++ b/src/openrouter/decisions.py @@ -10,7 +10,7 @@ class Decisions(BaseSDK): - r"""Alpha feature endpoints for Decisions (questions and answers) requests""" + r"""Alpha feature endpoints for Decisions requests""" def create( self, @@ -39,7 +39,7 @@ def create( timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, ) -> components.DecisionsResponse: - r"""Submit a Decisions (questions and answers) request + r"""Submit a Decisions request Submits a Decisions request to the Decisions router @@ -252,7 +252,7 @@ async def create_async( timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, ) -> components.DecisionsResponse: - r"""Submit a Decisions (questions and answers) request + r"""Submit a Decisions request Submits a Decisions request to the Decisions router diff --git a/uv.lock b/uv.lock index dbc7fbf9..c1b399f6 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.2.16" +version = "1.2.17" source = { editable = "." } dependencies = [ { name = "httpcore" }, From 74ab7bde3b21937a30591bccee86280d5ab4faf7 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2026 06:38:12 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow