From 5a61d62a6e91e7c77ffb2f4a72fe5e195b87ad77 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 5 Dec 2026 06:29:37 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.803.2 --- .speakeasy/gen.lock | 28 ++++++++++++++-------------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 2 +- .speakeasy/workflow.lock | 10 +++++----- RELEASES.md | 12 +++++++++++- docs/sdks/batch/README.mdx | 2 +- pyproject.toml | 2 +- src/openrouter/_version.py | 4 ++-- src/openrouter/batch.py | 4 ++-- uv.lock | 2 +- 10 files changed, 39 insertions(+), 29 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 6be72eba..21ca9205 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: 3534d2fc1b56a60cfb5155d193ebbbae + docChecksum: 9336ad6491bbe7153e9b0296bb029533 docVersion: 1.0.0 speakeasyVersion: 1.803.2 generationVersion: 2.950.13 - releaseVersion: 1.3.249 - configChecksum: 9c96a31f744f8d97ae49afb34c00f652 + releaseVersion: 1.3.250 + configChecksum: d65ff46c2fa1652f0b0e7bd7a6df6b9b repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: 53118a64-20f8-4d36-b99a-bc3184324885 - pristine_commit_hash: 6a8793a6eb7a14a4d0f2837127b8b3557d4672a4 - pristine_tree_hash: 3800d01506b9490b5afb3b3a16a2bd3be9290ec2 + generation_id: af7b3db1-d80c-40df-a390-c59a78529c72 + pristine_commit_hash: 2112637041bda9baeefb4e0b6d5a9c1af66fffea + pristine_tree_hash: a06ecda61df45545891d9b51cc1804ab0efc2e92 features: python: acceptHeaders: 3.0.0 @@ -12536,8 +12536,8 @@ trackedFiles: pristine_git_object: d4304854d226e88da980c5c4743bc592289d8143 docs/sdks/batch/README.mdx: id: e367aa4f4295 - last_write_checksum: sha1:1a1160bdde124e4f3f4d8c4c14448ab3df7f2c77 - pristine_git_object: e7b9850d5994a638ef7ba44c8356fdd4e434b365 + last_write_checksum: sha1:ba3e7c341d29112c7c364b384c4b2e667f5fb3cf + pristine_git_object: 6712cbe5db5ae01afeb4206cd9f0b3cfbbb41014 docs/sdks/benchmarks/README.mdx: id: 5b483a6770ba last_write_checksum: sha1:10a8edbf3bc300bab53ce72c3a37c974971b74bd @@ -12688,8 +12688,8 @@ trackedFiles: pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:99912460d4173130845589c3161201af31dd33ab - pristine_git_object: ec4076d23f45b1a0290e2fdfdf483fa4974533d7 + last_write_checksum: sha1:cbce0619784254562f7fda9f37bb004d7e0a51ca + pristine_git_object: 54c562ba8b880e61fc7e7e5de14c6266794ab8b0 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -12716,8 +12716,8 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:652aea765469397ebfde8093c3195ab4bc5edef3 - pristine_git_object: 4c3aa128edd8f808bcd0193bc76509b425db3cea + last_write_checksum: sha1:8a34e57a9a7dcdb15b5c9821e84e3372b6177ffb + pristine_git_object: 36a5891bb87271b53c1efce413ce9482471328f8 src/openrouter/alpha.py: id: 306c4d93308d last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766 @@ -12736,8 +12736,8 @@ trackedFiles: pristine_git_object: 7a562e21c7e66c9db666ead83748b73adefe4278 src/openrouter/batch.py: id: 148f61e34d5b - last_write_checksum: sha1:387696eb4007cb5fc7f5899d3affc5a0e0f3e667 - pristine_git_object: 48894aa220b0f6019f003d8e42eb94890a25dc73 + last_write_checksum: sha1:655489800d4a892f0bf369094d62a0ae2478b456 + pristine_git_object: 5079e6d254336521fb48e3a15b55c493de712b68 src/openrouter/benchmarks.py: id: 178d2ad8d706 last_write_checksum: sha1:be86f24d07ba86e9585f7d2bc2c384dba5185727 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 454c3ff4..441dc206 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -37,7 +37,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.3.249 + version: 1.3.250 additionalDependencies: dev: pytest: '>=8.3' diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 7274f887..d80ddc88 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -45470,7 +45470,7 @@ paths: - $ref: "#/components/parameters/AppCategories" /batches: get: - description: 'Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page''s `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).' + description: 'Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page''s `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).' operationId: 'listBatches' parameters: - description: 'Maximum number of batches to return, from 1 through 100.' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 380faf74..9db27adf 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:898831486e74b7b1fdc330f2b661b2dc3bf23385aafa524379986c07424c3c66 - sourceBlobDigest: sha256:d0244ee95fd73eb73950dece5f5442c8609b49389be838d08f99bc9c983576dd + sourceRevisionDigest: sha256:9996cd1cc6ad28b3d31f6b876b8b26261168e8b1f3ead998ddcdc3278cc6e6bc + sourceBlobDigest: sha256:9817de9cd943f57f40006963683b9bf941b10a74108eb0cee365556b55f881a2 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:898831486e74b7b1fdc330f2b661b2dc3bf23385aafa524379986c07424c3c66 - sourceBlobDigest: sha256:d0244ee95fd73eb73950dece5f5442c8609b49389be838d08f99bc9c983576dd + sourceRevisionDigest: sha256:9996cd1cc6ad28b3d31f6b876b8b26261168e8b1f3ead998ddcdc3278cc6e6bc + sourceBlobDigest: sha256:9817de9cd943f57f40006963683b9bf941b10a74108eb0cee365556b55f881a2 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:22ef2e2ab712db95bd12305ba9a593a1fe08d53f72b51f25da19950f14cfdda6 + codeSamplesRevisionDigest: sha256:804130330e169a7ad0f768e448c60e2aa9abb5530fef9db149b4b13473b4d4de workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.803.2 diff --git a/RELEASES.md b/RELEASES.md index ad4800fc..26d7ef0f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -5259,4 +5259,14 @@ Based on: ### Generated - [python v1.3.249] . ### Releases -- [PyPI v1.3.249] https://pypi.org/project/openrouter/1.3.249 - . \ No newline at end of file +- [PyPI v1.3.249] https://pypi.org/project/openrouter/1.3.249 - . + +## 2026-12-05 06:26:10 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.3.250] . +### Releases +- [PyPI v1.3.250] https://pypi.org/project/openrouter/1.3.250 - . \ No newline at end of file diff --git a/docs/sdks/batch/README.mdx b/docs/sdks/batch/README.mdx index e7b9850d..6712cbe5 100644 --- a/docs/sdks/batch/README.mdx +++ b/docs/sdks/batch/README.mdx @@ -18,7 +18,7 @@ Submit, list, poll, cancel, and delete asynchronous batches of inference request ## list -Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). +Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). ### Example Usage diff --git a/pyproject.toml b/pyproject.toml index ec4076d2..54c562ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.3.249" +version = "1.3.250" 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 4c3aa128..36a5891b 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.249" +__version__: str = "1.3.250" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.950.13" -__user_agent__: str = "speakeasy-sdk/python 1.3.249 2.950.13 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.3.250 2.950.13 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/batch.py b/src/openrouter/batch.py index 48894aa2..5079e6d2 100644 --- a/src/openrouter/batch.py +++ b/src/openrouter/batch.py @@ -31,7 +31,7 @@ def list( ) -> Optional[operations.ListBatchesResponse]: r"""List batches - Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). + Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). :param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application. @@ -199,7 +199,7 @@ async def list_async( ) -> Optional[operations.ListBatchesResponse]: r"""List batches - Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). + Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. In list items, `results` is always `null`. Use `GET /batches/{id}` to retrieve results. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). :param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application. diff --git a/uv.lock b/uv.lock index 3e4ae64c..8bf7cf60 100644 --- a/uv.lock +++ b/uv.lock @@ -231,7 +231,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.3.249" +version = "1.3.250" source = { editable = "." } dependencies = [ { name = "httpcore" },