From 5083bb07bbfcf2921465f34694607f661e19405d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Aug 2026 17:34:16 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.787.0 --- .speakeasy/gen.lock | 29 ++++++++++++++--------------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 2 +- .speakeasy/workflow.lock | 10 +++++----- RELEASES.md | 12 +++++++++++- docs/sdks/workspaces/README.mdx | 2 +- pyproject.toml | 2 +- src/openrouter/_version.py | 4 ++-- src/openrouter/workspaces.py | 4 ++-- uv.lock | 2 +- 10 files changed, 39 insertions(+), 30 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 9e42df73..8d5a4bb4 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: ab563d6fdecfbe13dcf3cbc9ab8dce66 + docChecksum: 122db02bec7df15e85fc7562309e1d18 docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 1.1.92 - configChecksum: f59a826b09f2db942e036c9a34ba0335 + releaseVersion: 1.1.93 + configChecksum: 44b673603f1c475e839a1ed96a7784ca repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: 39a42826-0421-4da3-b325-b7f5e65099ba - pristine_commit_hash: a5143520b68e571cc440d714a7e21481fd52e5f3 - pristine_tree_hash: 29251443bc728b6079719a982962da5c2761319d + generation_id: ea8e808b-cf7f-41b4-b274-0076065fc509 + pristine_commit_hash: c10ce5c071b9ba0c6d4bb0316f476e7ddd472a23 + pristine_tree_hash: fb3dcc0b69261d3e06a37def2016d08a5021ce03 features: python: acceptHeaders: 3.0.0 @@ -7386,16 +7386,16 @@ trackedFiles: pristine_git_object: b8a724406e6cacb0ecfef890499e727808961000 docs/sdks/workspaces/README.mdx: id: 0c75d023ef6b - last_write_checksum: sha1:c079746a64ae6d17d275a869566c100b54d955bf - pristine_git_object: 4c3befc7aeb1c06281c65f81b9004b30c8bd05f7 + last_write_checksum: sha1:bd87783f3d54c5768bc47ba24bc10578b7ec39c3 + pristine_git_object: b97ae9d4fac980f1cab1db19c725ace8427b8e73 py.typed: id: 258c3ed47ae4 last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60 pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:7e14ad37d06c962176aa31c9ba27b223cebc8749 - pristine_git_object: f529fcb697a958f57c89c1eb669d55cd83f5abf9 + last_write_checksum: sha1:e7f11b810acb218711005c3f6409383f2fcf0b96 + pristine_git_object: 2d003e3ce8333bf350fecd15592bfa86f9628065 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -7422,8 +7422,8 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:75965dae8cfe8e510c0ca59915c9ff8c915dee17 - pristine_git_object: 083b61e7cfdbde7e41c52ac9781814d426710b0f + last_write_checksum: sha1:10dccc3c5bc5c98686e3aa678aa1397dba476515 + pristine_git_object: 463fdf3f3d4f49c574d923700e2012c794090b7e src/openrouter/analytics.py: id: cb406b5aaabb last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9 @@ -10622,8 +10622,8 @@ trackedFiles: pristine_git_object: d7a5997d75ebb156d61342c8cf55c00cee9e210d src/openrouter/workspaces.py: id: cd6c533b1802 - last_write_checksum: sha1:b796f38262144b21ebf8f77e0a842903b4098e24 - pristine_git_object: 4c12e3e5bf324b810114aef2df30c822a0583f86 + last_write_checksum: sha1:d816715530601b9de1e76a19cbfe689d7f7f2b75 + pristine_git_object: b7d4b4cb83068c1d53ca7391ad157d3dc955a657 examples: createResponses: speakeasy-default-create-responses: @@ -12465,4 +12465,3 @@ examples: "503": application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}} examplesVersion: 1.0.2 -releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index f56b7eb7..4b1ffcd0 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.1.92 + version: 1.1.93 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 69f03c46..bafb48f9 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -39597,7 +39597,7 @@ paths: - $ref: "#/components/parameters/AppCategories" /workspaces/{id}: delete: - description: 'Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.' + description: 'Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.' operationId: 'deleteWorkspace' parameters: - description: 'The workspace ID (UUID) or slug' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 9f8e2130..188d385f 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:4969fdcceb23a0dfc67d4bf319c25082b63b909ca33eea71e08c616e4a79a9ee - sourceBlobDigest: sha256:745e1c7162567b2cce120234dd27b2346fc2eec7cb46136efba34339444d92de + sourceRevisionDigest: sha256:3eef799c2f73ae373c9a2a72160190132f88e3939d983e57140f5d33fc611aa5 + sourceBlobDigest: sha256:b0f485494548fc18e35e59f3180cb21383b01816a867de4eed19342e00580414 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:4969fdcceb23a0dfc67d4bf319c25082b63b909ca33eea71e08c616e4a79a9ee - sourceBlobDigest: sha256:745e1c7162567b2cce120234dd27b2346fc2eec7cb46136efba34339444d92de + sourceRevisionDigest: sha256:3eef799c2f73ae373c9a2a72160190132f88e3939d983e57140f5d33fc611aa5 + sourceBlobDigest: sha256:b0f485494548fc18e35e59f3180cb21383b01816a867de4eed19342e00580414 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:59956dcd61f241a327c04454891da937342198a557e89b3875c69840a72d754a + codeSamplesRevisionDigest: sha256:7994cd38d2a3a7e3a6fc1e547eeaaec2109599dddb991fa7a9655fbe7d02b98a workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.787.0 diff --git a/RELEASES.md b/RELEASES.md index e34a9901..b46e9f05 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1709,4 +1709,14 @@ Based on: ### Generated - [python v1.1.92] . ### Releases -- [PyPI v1.1.92] https://pypi.org/project/openrouter/1.1.92 - . \ No newline at end of file +- [PyPI v1.1.92] https://pypi.org/project/openrouter/1.1.92 - . + +## 2026-08-26 17:32:11 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.1.93] . +### Releases +- [PyPI v1.1.93] https://pypi.org/project/openrouter/1.1.93 - . \ No newline at end of file diff --git a/docs/sdks/workspaces/README.mdx b/docs/sdks/workspaces/README.mdx index 4c3befc7..b97ae9d4 100644 --- a/docs/sdks/workspaces/README.mdx +++ b/docs/sdks/workspaces/README.mdx @@ -133,7 +133,7 @@ with OpenRouter( ## delete -Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required. +Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required. ### Example Usage diff --git a/pyproject.toml b/pyproject.toml index f529fcb6..2d003e3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.1.92" +version = "1.1.93" 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 083b61e7..463fdf3f 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "1.1.92" +__version__: str = "1.1.93" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.914.0" -__user_agent__: str = "speakeasy-sdk/python 1.1.92 2.914.0 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.1.93 2.914.0 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/workspaces.py b/src/openrouter/workspaces.py index 4c12e3e5..b7d4b4cb 100644 --- a/src/openrouter/workspaces.py +++ b/src/openrouter/workspaces.py @@ -694,7 +694,7 @@ def delete( ) -> components.DeleteWorkspaceResponse: r"""Delete a workspace - Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required. + Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required. :param id: The workspace ID (UUID) or slug :param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings. @@ -832,7 +832,7 @@ async def delete_async( ) -> components.DeleteWorkspaceResponse: r"""Delete a workspace - Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required. + Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required. :param id: The workspace ID (UUID) or slug :param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings. diff --git a/uv.lock b/uv.lock index cb1a33e7..2010ecb8 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.1.92" +version = "1.1.93" source = { editable = "." } dependencies = [ { name = "httpcore" }, From b2cb668804d9c8e3e28f12ed2a2dcdc601d82cf6 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 17:34:24 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow