From c456dc808770911931532881800e95e0ef150dbf Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 5 Aug 2026 15:52:14 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.787.0 --- .speakeasy/gen.lock | 28 ++++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 2 +- .speakeasy/workflow.lock | 10 +++---- RELEASES.md | 12 ++++++++- docs/components/filesservertool.mdx | 2 +- pyproject.toml | 2 +- src/openrouter/_version.py | 4 +-- src/openrouter/components/filesservertool.py | 4 +-- uv.lock | 2 +- 10 files changed, 39 insertions(+), 29 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index fe559538..401acf61 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: 69ede7bb1a407d4f7509f76454b8ea14 + docChecksum: 26c0a02dc101b4017015c2d0eb5ecb9b docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 1.1.30 - configChecksum: 3c03b37198222ebb069b6628e8cc8b4b + releaseVersion: 1.1.31 + configChecksum: 854cfeca4a37f4eeb7a001dfa77e8fc7 repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: 0b47244c-c638-4f0f-808e-7fb613519d3b - pristine_commit_hash: 39c2a2efa68d6c62d47206cb9cd3b5a4fa675455 - pristine_tree_hash: 7f8455c076cf7de116143f21e1c0934c6dbef483 + generation_id: 8c390f2d-6d5f-4e7a-a8e3-5dd3d2d5188c + pristine_commit_hash: cc90cf104c6373f0b3fd4d47e8d8d4b33c94b012 + pristine_tree_hash: 7db7d9131b39066966f1b81e6893ffca84198ad4 features: python: acceptHeaders: 3.0.0 @@ -1858,8 +1858,8 @@ trackedFiles: pristine_git_object: 570219253720d0f7f682e6b5a8b510ea60abd066 docs/components/filesservertool.mdx: id: 7b15d2a7ba50 - last_write_checksum: sha1:6fcbd963de8797fc622b28c97b5d03b24e1b733d - pristine_git_object: 7720ba432a313dbdc1ec4bc793280f629c19c666 + last_write_checksum: sha1:0f63ed6145652d0a324e5b7a2511cc4ab610b756 + pristine_git_object: d9cc0a84d70afbff59d574dd00ae90cdd55d53c3 docs/components/filesservertoolconfig.mdx: id: 4786db8c4bad last_write_checksum: sha1:bea44aab79ccddb9dff37eb6dc30ef8cf8a13872 @@ -7102,8 +7102,8 @@ trackedFiles: pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:2101db140f8b8aa17bf444077d8ab5e6c8488024 - pristine_git_object: cc59b34480bfd68d6b575369865146fc386604d7 + last_write_checksum: sha1:8cf0bdbe21b12f553070e2882fe59bb48641e7ed + pristine_git_object: 6c3b8a8af99cfb2a57a9c6bc6c30a1aa25040433 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -7130,8 +7130,8 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:66ced41e710fd1ec87eeb5356ee5d2ec505977d0 - pristine_git_object: 150cb85d15724154144c3a36a54ccb5fecd469d2 + last_write_checksum: sha1:279eb10773c31092be7da44094b59f56083dac33 + pristine_git_object: 3cc5f0ce8d496f48c44181f9a34179c3ed626a28 src/openrouter/analytics.py: id: cb406b5aaabb last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a @@ -7994,8 +7994,8 @@ trackedFiles: pristine_git_object: 63a4322eb168678e2eca0c9a25c45353335f03e6 src/openrouter/components/filesservertool.py: id: 725f58d5d419 - last_write_checksum: sha1:ea2af05c4a8f992c2edeab81e6ca4279b4978010 - pristine_git_object: 7e9f36a52234438568462ea061f782505a599c26 + last_write_checksum: sha1:5014339139d47e2c80bca2b93505cd3a059e6243 + pristine_git_object: b99612622e40bbc5f2967e9f12590ce29fa7881c src/openrouter/components/filesservertoolconfig.py: id: 8353a3e97cfc last_write_checksum: sha1:8cbb3c05f6f3304e3f54c0f8bfb8d11a0ac0cdc3 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 1d2b0155..7c87ad47 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.1.30 + version: 1.1.31 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 5c560b6e..959f13a2 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -8213,7 +8213,7 @@ components: - 'vector_store_ids' type: 'object' FilesServerTool: - description: 'OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the `x-openrouter-file-ids: openrouter` request header.' + description: 'OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires an authenticated request; files come from the API key''s workspace (or the default workspace for keys without one).' example: parameters: {} type: 'openrouter:files' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index eaad72b1..f8e55d55 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:a8207305b2e641915926ee732e79367d6785311bfd09d0b091cb4fe256d8e060 - sourceBlobDigest: sha256:ef9923f697012ff3cfade392822ee0bb745c714c08cd18818bc6255e371a2288 + sourceRevisionDigest: sha256:1808b9c2cbf76d4f339acc1cee8b4dc13915b6c06bdf9d514e01f1635f8ce76e + sourceBlobDigest: sha256:a27fe5ccbc198e8c87371f2d63802e8a7ce0a99f88c9099c6bec3c5615886390 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:a8207305b2e641915926ee732e79367d6785311bfd09d0b091cb4fe256d8e060 - sourceBlobDigest: sha256:ef9923f697012ff3cfade392822ee0bb745c714c08cd18818bc6255e371a2288 + sourceRevisionDigest: sha256:1808b9c2cbf76d4f339acc1cee8b4dc13915b6c06bdf9d514e01f1635f8ce76e + sourceBlobDigest: sha256:a27fe5ccbc198e8c87371f2d63802e8a7ce0a99f88c9099c6bec3c5615886390 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:bb4a2bf258b63bc175e3fac4f2481f9cb954bebe2ccd20cd45bbeb23379a0ae6 + codeSamplesRevisionDigest: sha256:efe4bfc0a359b6ef93324c45343e5c60ab1d6de3005597332f794bb26f7e735e workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.787.0 diff --git a/RELEASES.md b/RELEASES.md index 5d0ff8f4..69c3774d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1089,4 +1089,14 @@ Based on: ### Generated - [python v1.1.30] . ### Releases -- [PyPI v1.1.30] https://pypi.org/project/openrouter/1.1.30 - . \ No newline at end of file +- [PyPI v1.1.30] https://pypi.org/project/openrouter/1.1.30 - . + +## 2026-08-05 15:49:37 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.1.31] . +### Releases +- [PyPI v1.1.31] https://pypi.org/project/openrouter/1.1.31 - . \ No newline at end of file diff --git a/docs/components/filesservertool.mdx b/docs/components/filesservertool.mdx index 7720ba43..d9cc0a84 100644 --- a/docs/components/filesservertool.mdx +++ b/docs/components/filesservertool.mdx @@ -2,7 +2,7 @@ title: "FilesServerTool" --- -OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the `x-openrouter-file-ids: openrouter` request header. +OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires an authenticated request; files come from the API key's workspace (or the default workspace for keys without one). ## Fields diff --git a/pyproject.toml b/pyproject.toml index cc59b344..6c3b8a8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.1.30" +version = "1.1.31" 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 150cb85d..3cc5f0ce 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.30" +__version__: str = "1.1.31" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.914.0" -__user_agent__: str = "speakeasy-sdk/python 1.1.30 2.914.0 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.1.31 2.914.0 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/components/filesservertool.py b/src/openrouter/components/filesservertool.py index 7e9f36a5..b9961262 100644 --- a/src/openrouter/components/filesservertool.py +++ b/src/openrouter/components/filesservertool.py @@ -12,7 +12,7 @@ class FilesServerToolTypedDict(TypedDict): - r"""OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the `x-openrouter-file-ids: openrouter` request header.""" + r"""OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires an authenticated request; files come from the API key's workspace (or the default workspace for keys without one).""" type: FilesServerToolType parameters: NotRequired[FilesServerToolConfigTypedDict] @@ -20,7 +20,7 @@ class FilesServerToolTypedDict(TypedDict): class FilesServerTool(BaseModel): - r"""OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the `x-openrouter-file-ids: openrouter` request header.""" + r"""OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires an authenticated request; files come from the API key's workspace (or the default workspace for keys without one).""" type: FilesServerToolType diff --git a/uv.lock b/uv.lock index 703a042d..4cf113d4 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.1.30" +version = "1.1.31" source = { editable = "." } dependencies = [ { name = "httpcore" }, From f7644785ff09c08bf2e46328fb69968c55669c01 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 15:52:21 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow