Skip to content

Commit 2bf3063

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

10 files changed

Lines changed: 39 additions & 30 deletions

File tree

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

Lines changed: 14 additions & 15 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: de65a7aa9d84348d3d2803fd17763c50
4+
docChecksum: 69ede7bb1a407d4f7509f76454b8ea14
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.29
9-
configChecksum: 69737fdbf335c1a4d255de632c8d2cd9
8+
releaseVersion: 1.1.30
9+
configChecksum: 3c03b37198222ebb069b6628e8cc8b4b
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: c9c1d12d-ccde-4410-a7aa-afb0beff72b6
15-
pristine_commit_hash: 505412e05b4e22cde94361c99b5262f0b59d3e55
16-
pristine_tree_hash: e716081153f63fc31c2d0869205074537241ec06
14+
generation_id: 0b47244c-c638-4f0f-808e-7fb613519d3b
15+
pristine_commit_hash: 39c2a2efa68d6c62d47206cb9cd3b5a4fa675455
16+
pristine_tree_hash: 7f8455c076cf7de116143f21e1c0934c6dbef483
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -7030,8 +7030,8 @@ trackedFiles:
70307030
pristine_git_object: f8cebc2061d7428904766956be45ca70e5519be4
70317031
docs/sdks/files/README.mdx:
70327032
id: 1a0c257e330c
7033-
last_write_checksum: sha1:de776967e4a75eaa47f3652f11dbbb1958f08c81
7034-
pristine_git_object: d953a363ad8ad5ebdc689a75d5b4753ec0069e79
7033+
last_write_checksum: sha1:f92d58e58f2ac2048faa8b4420c1663a48e20959
7034+
pristine_git_object: d9aef34c11d538fe9d54a41f27a913181cc4f1f5
70357035
docs/sdks/generations/README.mdx:
70367036
id: a754fecc8514
70377037
last_write_checksum: sha1:b5f8035c676b5eb050472ed9697b64718aed8f17
@@ -7102,8 +7102,8 @@ trackedFiles:
71027102
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
71037103
pyproject.toml:
71047104
id: 5d07e7d72637
7105-
last_write_checksum: sha1:cbfae3caa1f867c37e01f36c585aac069cc7f209
7106-
pristine_git_object: 913be7fd10a47505aebc4f5e4c51d7e5fe3a3f52
7105+
last_write_checksum: sha1:2101db140f8b8aa17bf444077d8ab5e6c8488024
7106+
pristine_git_object: cc59b34480bfd68d6b575369865146fc386604d7
71077107
scripts/prepare_readme.py:
71087108
id: e0c5957a6035
71097109
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7130,8 +7130,8 @@ trackedFiles:
71307130
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
71317131
src/openrouter/_version.py:
71327132
id: d8d15ad6c586
7133-
last_write_checksum: sha1:3e765bb384b287767a1f6e2676c46555e35559cf
7134-
pristine_git_object: 2ca97ab48e006508e18ec140c560862ec7dd250e
7133+
last_write_checksum: sha1:66ced41e710fd1ec87eeb5356ee5d2ec505977d0
7134+
pristine_git_object: 150cb85d15724154144c3a36a54ccb5fecd469d2
71357135
src/openrouter/analytics.py:
71367136
id: cb406b5aaabb
71377137
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -9654,8 +9654,8 @@ trackedFiles:
96549654
pristine_git_object: 51b56d9ca5e27c49a98d05f0414573ac5243c580
96559655
src/openrouter/files.py:
96569656
id: 7baf7ee1f5b3
9657-
last_write_checksum: sha1:647c71674fef51cb83996b3a8dafa1e04cd156ee
9658-
pristine_git_object: abd0225d2d8651a20369fcedd1ca6fe7f02aa342
9657+
last_write_checksum: sha1:2e69503c45aa248c029db25cc4d024d73621f573
9658+
pristine_git_object: 268e617de41c88c6393b791a4c04048de4d7ce3c
96599659
src/openrouter/generations.py:
96609660
id: 70e1c21042bc
96619661
last_write_checksum: sha1:00b190db603c57571f77ccfe5d5612a3f42c62a0
@@ -11929,4 +11929,3 @@ examples:
1192911929
"500":
1193011930
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1193111931
examplesVersion: 1.0.2
11932-
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.analytics.query_analytics()`: \n * `request.filters[].include_unset` **Added**\n* `open_router.presets.create_presets_messages()`: `request` **Changed**\n"

β€Ž.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.29
39+
version: 1.1.30
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28930,7 +28930,7 @@ paths:
2893028930
results: '$.data'
2893128931
type: 'cursor'
2893228932
post:
28933-
description: 'Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB.'
28933+
description: 'Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB; empty files are rejected. The file type is determined from the file contents β€” not the filename or the declared content type β€” and must be a PDF, a PNG/JPEG/GIF/WebP image, a DOCX/XLSX/PPTX document, an MP3/WAV/FLAC/OGG audio file, or UTF-8 text. Text is reported by its structure as `application/json`, `application/x-ndjson`, `text/csv`, `text/markdown`, or `text/plain`.'
2893428934
operationId: 'uploadFile'
2893528935
parameters:
2893628936
- description: 'Workspace to scope the request to. Defaults to the caller’s default workspace.'

β€Ž.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:dd29911e23a58bcd935d9c8aeeafbffc0cda31d9c79c2b2ca821b8fb61c3e0ee
6-
sourceBlobDigest: sha256:0d2d3a0f42dedc35eb67a5c6359032ef42fe95a035426451c98cb4be96a2896f
5+
sourceRevisionDigest: sha256:a8207305b2e641915926ee732e79367d6785311bfd09d0b091cb4fe256d8e060
6+
sourceBlobDigest: sha256:ef9923f697012ff3cfade392822ee0bb745c714c08cd18818bc6255e371a2288
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:dd29911e23a58bcd935d9c8aeeafbffc0cda31d9c79c2b2ca821b8fb61c3e0ee
15-
sourceBlobDigest: sha256:0d2d3a0f42dedc35eb67a5c6359032ef42fe95a035426451c98cb4be96a2896f
14+
sourceRevisionDigest: sha256:a8207305b2e641915926ee732e79367d6785311bfd09d0b091cb4fe256d8e060
15+
sourceBlobDigest: sha256:ef9923f697012ff3cfade392822ee0bb745c714c08cd18818bc6255e371a2288
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:c77943d0c16cbf6c66adbedd00b884b46030dfb072462fef82e9dd12bf0120da
17+
codeSamplesRevisionDigest: sha256:bb4a2bf258b63bc175e3fac4f2481f9cb954bebe2ccd20cd45bbeb23379a0ae6
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
@@ -1079,4 +1079,14 @@ Based on:
10791079
### Generated
10801080
- [python v1.1.29] .
10811081
### Releases
1082-
- [PyPI v1.1.29] https://pypi.org/project/openrouter/1.1.29 - .
1082+
- [PyPI v1.1.29] https://pypi.org/project/openrouter/1.1.29 - .
1083+
1084+
## 2026-08-05 15:18:28
1085+
### Changes
1086+
Based on:
1087+
- OpenAPI Doc
1088+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1089+
### Generated
1090+
- [python v1.1.30] .
1091+
### Releases
1092+
- [PyPI v1.1.30] https://pypi.org/project/openrouter/1.1.30 - .

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

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

7979
## upload
8080

81-
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB.
81+
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB; empty files are rejected. The file type is determined from the file contents β€” not the filename or the declared content type β€” and must be a PDF, a PNG/JPEG/GIF/WebP image, a DOCX/XLSX/PPTX document, an MP3/WAV/FLAC/OGG audio file, or UTF-8 text. Text is reported by its structure as `application/json`, `application/x-ndjson`, `text/csv`, `text/markdown`, or `text/plain`.
8282

8383
### Example Usage
8484

β€Ž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.29"
3+
version = "1.1.30"
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.29"
6+
__version__: str = "1.1.30"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.29 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.30 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def upload(
443443
) -> components.FileResponse:
444444
r"""Upload a file
445445
446-
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB.
446+
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB; empty files are rejected. The file type is determined from the file contents β€” not the filename or the declared content type β€” and must be a PDF, a PNG/JPEG/GIF/WebP image, a DOCX/XLSX/PPTX document, an MP3/WAV/FLAC/OGG audio file, or UTF-8 text. Text is reported by its structure as `application/json`, `application/x-ndjson`, `text/csv`, `text/markdown`, or `text/plain`.
447447
448448
:param file:
449449
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
@@ -611,7 +611,7 @@ async def upload_async(
611611
) -> components.FileResponse:
612612
r"""Upload a file
613613
614-
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB.
614+
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB; empty files are rejected. The file type is determined from the file contents β€” not the filename or the declared content type β€” and must be a PDF, a PNG/JPEG/GIF/WebP image, a DOCX/XLSX/PPTX document, an MP3/WAV/FLAC/OGG audio file, or UTF-8 text. Text is reported by its structure as `application/json`, `application/x-ndjson`, `text/csv`, `text/markdown`, or `text/plain`.
615615
616616
:param file:
617617
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.

β€Ž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)