Skip to content

Commit c417c69

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.1.99 (#749)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent e977d17 commit c417c69

10 files changed

Lines changed: 40 additions & 30 deletions

File tree

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: b89cc65bbf379613ceec7456e87307bb
4+
docChecksum: 8c4d4967819782de637ac877bf680bb4
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.98
9-
configChecksum: d6e65bf56d0b6ff5a1206ebef54ee43f
8+
releaseVersion: 1.1.99
9+
configChecksum: 1934b1366779d2fd11e23ef757079a67
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: a47a85b3-6f80-434b-9e48-9c2fc68d27cd
15-
pristine_commit_hash: e0b4dfabf4b2a71883ccfb81d6bc7c889e3f946e
16-
pristine_tree_hash: fe5cb6d27edf8d50f0c8f4d1c0b1bb3edb59de5f
14+
generation_id: f79644c8-8faa-4aac-9971-da3177741570
15+
pristine_commit_hash: 4b94f324af3cc637aabc2d65eed38ad86cbfe0ce
16+
pristine_tree_hash: c24fd5861a7734f941a68257c1a5e1752ac371ac
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -7302,8 +7302,8 @@ trackedFiles:
73027302
pristine_git_object: bed5f74e5e8269cbba66943524ffa5206c933de3
73037303
docs/sdks/containers/README.mdx:
73047304
id: cc963972ad75
7305-
last_write_checksum: sha1:e98902490b924d55601ebc5d6a76aa7271edaccb
7306-
pristine_git_object: 05e2d9345a19a297d29482462ca718fba4b6cc3d
7305+
last_write_checksum: sha1:37ddd77ce960000f8d6b5a4ed8aa47fcecd1bf0a
7306+
pristine_git_object: 6c2119cad00e2ae8009e1349851fd0c915b89bc8
73077307
docs/sdks/credits/README.mdx:
73087308
id: 2ba51de8de3f
73097309
last_write_checksum: sha1:08de2963f78b645eaa14fa8511552bae2ddccd75
@@ -7394,8 +7394,8 @@ trackedFiles:
73947394
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73957395
pyproject.toml:
73967396
id: 5d07e7d72637
7397-
last_write_checksum: sha1:7c7ccb7bb86ee6b0388c7df5d7179909a5097a3c
7398-
pristine_git_object: 46d9f228916bbadc82bb1aeb476ef431070ae053
7397+
last_write_checksum: sha1:8a1ac5ce02efb21b0be26eb68cfa84e3b3dcc49b
7398+
pristine_git_object: cb27695fa28b45f4f7b4ccbabbb2522440bde938
73997399
scripts/prepare_readme.py:
74007400
id: e0c5957a6035
74017401
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7422,8 +7422,8 @@ trackedFiles:
74227422
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
74237423
src/openrouter/_version.py:
74247424
id: d8d15ad6c586
7425-
last_write_checksum: sha1:11bec47eb6d37171d7dacfe6e37165e3636e7a1d
7426-
pristine_git_object: ebe650d899bbb22325c8c9995ec6aa1b1147eea9
7425+
last_write_checksum: sha1:46e9c850f3080f65041bc77aed50f4d962e185dd
7426+
pristine_git_object: 5a7265f202b696bc58b9d6089e8889b3d2758d4c
74277427
src/openrouter/analytics.py:
74287428
id: cb406b5aaabb
74297429
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
@@ -9938,8 +9938,8 @@ trackedFiles:
99389938
pristine_git_object: ad78361d147d2edb7b5772c14501d9c25a2000b0
99399939
src/openrouter/containers.py:
99409940
id: 5edae5db57e9
9941-
last_write_checksum: sha1:dca529a8a49b60c94d59bc497423d9c983dcee95
9942-
pristine_git_object: 40cf9e34645544968d4c84dddc659445c6528fd2
9941+
last_write_checksum: sha1:b8bbbc0adfb30c63c1d6c304f204057034c9319c
9942+
pristine_git_object: 6cf0e3473384453e37fd5c199a3c680e97dc8a21
99439943
src/openrouter/credits.py:
99449944
id: cdc961937101
99459945
last_write_checksum: sha1:7ac37671d3de537eb98f15239d531e3ab3928a59

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.1.98
39+
version: 1.1.99
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29723,7 +29723,7 @@ paths:
2972329723
- $ref: "#/components/parameters/AppCategories"
2972429724
/containers/{container_id}/files/{file_id}/promote:
2972529725
post:
29726-
description: 'Copies a file from the container''s sandbox prefix into the workspace''s durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace''s storage quota exactly like an upload.'
29726+
description: 'Copies a file from the container''s sandbox prefix into the workspace''s durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace''s storage quota. Unlike a direct upload, promoted files are downloadable.'
2972729727
operationId: 'promoteContainerFile'
2972829728
parameters:
2972929729
- description: 'The canonical container id, exactly as returned in a bash/shell tool result β€” a restarted session has its own `-r<nonce>`-suffixed id. A session-derived id is always `sess_` + the sanitized session key, which is not necessarily the raw session id that was sent.'
@@ -29749,7 +29749,7 @@ paths:
2974929749
example:
2975029750
_shape: 'openrouter'
2975129751
created_at: '2026-08-23T00:00:00Z'
29752-
downloadable: false
29752+
downloadable: true
2975329753
filename: 'out/report.csv'
2975429754
id: 'or_file_011CNha8iCJcU1wXNR6q4V8w'
2975529755
mime_type: 'text/csv'

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:57fa65a6ffb4a0be0dbf02e6d0c455960dd2591c66515e4a18f1a16471db8a70
6-
sourceBlobDigest: sha256:3b2708d5b55152f9aa45a7115e67d5ac67cdd4d8a4352c3bb46c99b82146cc59
5+
sourceRevisionDigest: sha256:05fdf5ad1168fb8b389b6e43c0923738bc18c6ad94e238e8841d494b6feeae1e
6+
sourceBlobDigest: sha256:b311b2470a0d14077e5043ac92fe525a1530aad37faae4926f19fc0a1479264a
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:57fa65a6ffb4a0be0dbf02e6d0c455960dd2591c66515e4a18f1a16471db8a70
15-
sourceBlobDigest: sha256:3b2708d5b55152f9aa45a7115e67d5ac67cdd4d8a4352c3bb46c99b82146cc59
14+
sourceRevisionDigest: sha256:05fdf5ad1168fb8b389b6e43c0923738bc18c6ad94e238e8841d494b6feeae1e
15+
sourceBlobDigest: sha256:b311b2470a0d14077e5043ac92fe525a1530aad37faae4926f19fc0a1479264a
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:64561b451d9155cb6e3b42bbc0dc80c2a79a08e22a61e309fa2c7856c9d95026
17+
codeSamplesRevisionDigest: sha256:7cb22388bca22a387a7fd7f5e256223d7cd0376ff37e6e535c3b06b7e90f5380
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,4 +1769,14 @@ Based on:
17691769
### Generated
17701770
- [python v1.1.98] .
17711771
### Releases
1772-
- [PyPI v1.1.98] https://pypi.org/project/openrouter/1.1.98 - .
1772+
- [PyPI v1.1.98] https://pypi.org/project/openrouter/1.1.98 - .
1773+
1774+
## 2026-08-27 21:09:37
1775+
### Changes
1776+
Based on:
1777+
- OpenAPI Doc
1778+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1779+
### Generated
1780+
- [python v1.1.99] .
1781+
### Releases
1782+
- [PyPI v1.1.99] https://pypi.org/project/openrouter/1.1.99 - .

β€Ždocs/sdks/containers/README.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ with OpenRouter(
175175

176176
## promote_container_file
177177

178-
Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota exactly like an upload.
178+
Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota. Unlike a direct upload, promoted files are downloadable.
179179

180180
### Example Usage
181181

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openrouter"
3-
version = "1.1.98"
3+
version = "1.1.99"
44
description = "Official Python Client SDK for OpenRouter."
55
authors = [{ name = "OpenRouter" },]
66
readme = "README-PYPI.md"

β€Žsrc/openrouter/_version.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "openrouter"
6-
__version__: str = "1.1.98"
6+
__version__: str = "1.1.99"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.98 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.99 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

β€Žsrc/openrouter/containers.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ def promote_container_file(
972972
) -> components.FileResponse:
973973
r"""Promote a container file into workspace documents
974974
975-
Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota exactly like an upload.
975+
Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota. Unlike a direct upload, promoted files are downloadable.
976976
977977
:param container_id: The canonical container id, exactly as returned in a bash/shell tool result β€” a restarted session has its own `-r<nonce>`-suffixed id. A session-derived id is always `sess_` + the sanitized session key, which is not necessarily the raw session id that was sent.
978978
:param file_id: Container file id (`cfile_` + base64url of the file path).
@@ -1128,7 +1128,7 @@ async def promote_container_file_async(
11281128
) -> components.FileResponse:
11291129
r"""Promote a container file into workspace documents
11301130
1131-
Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota exactly like an upload.
1131+
Copies a file from the container's sandbox prefix into the workspace's durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace's storage quota. Unlike a direct upload, promoted files are downloadable.
11321132
11331133
:param container_id: The canonical container id, exactly as returned in a bash/shell tool result β€” a restarted session has its own `-r<nonce>`-suffixed id. A session-derived id is always `sess_` + the sanitized session key, which is not necessarily the raw session id that was sent.
11341134
:param file_id: Container file id (`cfile_` + base64url of the file path).

β€Žuv.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)