Skip to content

Commit 56dda4d

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

12 files changed

Lines changed: 73 additions & 30 deletions

File tree

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

Lines changed: 21 additions & 18 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: 1399a961b6d0a2f35e428d48864064db
4+
docChecksum: e579a3223c8c1359c9769fb563fd61c3
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.90
9-
configChecksum: c28142f462e8cc19ac66f39fc501f7f9
8+
releaseVersion: 1.1.91
9+
configChecksum: f97c74418c6b0f25b75cef735e391532
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: 67c4ddad-6c0c-4461-a2ac-66fdcbe1d53d
15-
pristine_commit_hash: 96cb29d1679688f60c40ec3f5d598677500e69d9
16-
pristine_tree_hash: 61171c160980f9d8cdf063075fa9e59bad5eb612
14+
generation_id: 67ff633e-56a1-487c-9420-ea3dd7375e13
15+
pristine_commit_hash: 68e70d8b342f15b30646a7e9ca417febb262a9aa
16+
pristine_tree_hash: b77709400a7b144f5938fb98d30357edcc29645a
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -2362,8 +2362,8 @@ trackedFiles:
23622362
pristine_git_object: bccd158982dba4b4ed810b98b5f7d4a6c04afaa7
23632363
docs/components/imagegenerationrequest.mdx:
23642364
id: b093cb0f5e81
2365-
last_write_checksum: sha1:3bc4fcfbd60811c1b4f67b2b4a8dfd66631bbdbf
2366-
pristine_git_object: 96a06ccb53d71cbd38ba7b8aa2f4cf77773baffc
2365+
last_write_checksum: sha1:e66f2ed453490ba50a171826016338ba869875ce
2366+
pristine_git_object: 68f653b5fdd4a2a93d4c399658e10ae30c09bd71
23672367
docs/components/imagegenerationrequestaspectratio.mdx:
23682368
id: bda89377f32d
23692369
last_write_checksum: sha1:9cc231ee222c01ce471ecff3804a9e5acb8a054f
@@ -7326,8 +7326,8 @@ trackedFiles:
73267326
pristine_git_object: 448b81faf70c44ac312c1183731ac31aadec6cb6
73277327
docs/sdks/images/README.mdx:
73287328
id: 534a6c102c4f
7329-
last_write_checksum: sha1:bb22509015ad414847d101ba719689163a7cd42a
7330-
pristine_git_object: f2b9be80c1eeca1c982f9a982803d011491f5a6a
7329+
last_write_checksum: sha1:bc62f91590ac816c58ad954f4a888a46aee71bb9
7330+
pristine_git_object: 6ee346c73844495c95009346a1242ed6f37d58b5
73317331
docs/sdks/models/README.mdx:
73327332
id: 58f1ca464e0b
73337333
last_write_checksum: sha1:34535ca4139b5892da3c9beaa5636cd9d362399b
@@ -7386,8 +7386,8 @@ trackedFiles:
73867386
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73877387
pyproject.toml:
73887388
id: 5d07e7d72637
7389-
last_write_checksum: sha1:78dd517a5da7ba579c7184883d6bd0b150ff2eaa
7390-
pristine_git_object: 0eb05d43a029c6289e4849b125b04f2c4c3767ae
7389+
last_write_checksum: sha1:02b518a5f9d31eee3c265939cfa6ff21bf5601b4
7390+
pristine_git_object: 22a50bd359c07f5585397a8ccf921437481d0581
73917391
scripts/prepare_readme.py:
73927392
id: e0c5957a6035
73937393
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7414,8 +7414,8 @@ trackedFiles:
74147414
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
74157415
src/openrouter/_version.py:
74167416
id: d8d15ad6c586
7417-
last_write_checksum: sha1:5a8813e8e1a4434589fa8e4e877fa3640aaf2a9a
7418-
pristine_git_object: a78909fc4ea77e5b6e84a2b5ff14308679ec38eb
7417+
last_write_checksum: sha1:92c89eb588563dfd3419095f7c578d5bb4a9d1e6
7418+
pristine_git_object: 815f9ec5862ec99e6f9232f7821b3ccecf1c0977
74197419
src/openrouter/analytics.py:
74207420
id: cb406b5aaabb
74217421
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
@@ -8514,8 +8514,8 @@ trackedFiles:
85148514
pristine_git_object: 0af5d2b63da236adfbb20fa80530a296f5127df8
85158515
src/openrouter/components/imagegenerationrequest.py:
85168516
id: f8291a7be9a0
8517-
last_write_checksum: sha1:f7225ba0f6ca57f86fb4c07e6ceeaf9a44a0f7df
8518-
pristine_git_object: 5c79bb3b4818e09784e44a8ea811492900763877
8517+
last_write_checksum: sha1:06040315f7f05be92a5ef2db7908b31d07bb2921
8518+
pristine_git_object: d681ed7ba2e46f7ef1351a9d2ae5571f23e09790
85198519
src/openrouter/components/imagegenerationresponse.py:
85208520
id: 53354cd0cbfc
85218521
last_write_checksum: sha1:53f1cde7b8bfe4f9e786a76f6e57b0a1f76aced2
@@ -10046,8 +10046,8 @@ trackedFiles:
1004610046
pristine_git_object: 89560b566073785535643e694c112bedbd3db13d
1004710047
src/openrouter/images.py:
1004810048
id: c4d7adf63ae0
10049-
last_write_checksum: sha1:c794ec7ad6e3dcc1c57239b3b869aa628eb8a424
10050-
pristine_git_object: 29a8a6a34d931ba33dcbae8f1c3575f6f860be87
10049+
last_write_checksum: sha1:a49be8ca6e374b9808cfebfb348741a8b1c461e0
10050+
pristine_git_object: b7abaae4a3b605f2fe374fc9189841f3268cf4ab
1005110051
src/openrouter/models/__init__.py:
1005210052
id: ed73b93abb3f
1005310053
last_write_checksum: sha1:932a790ae66ccd7d7022b39c659bcf72a664ebea
@@ -12457,3 +12457,6 @@ examples:
1245712457
"503":
1245812458
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
1245912459
examplesVersion: 1.0.2
12460+
releaseNotes: |
12461+
## Python SDK Changes:
12462+
* `open_router.images.generate()`: `request.user` **Added**

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10653,6 +10653,10 @@ components:
1065310653
stream:
1065410654
description: 'If true, partial images are streamed as SSE events as they become available. Only supported by providers with native streaming (currently OpenAI). Non-streaming providers ignore this flag and return a buffered response.'
1065510655
type: 'boolean'
10656+
user:
10657+
description: 'A stable identifier for your end-users. Used to help detect and prevent abuse. Never sent to providers verbatim: for providers whose data policy requires user IDs, it is folded into a hashed, per-account upstream user identifier.'
10658+
example: 'end-user-abc123'
10659+
type: 'string'
1065610660
required:
1065710661
- 'model'
1065810662
- 'prompt'

β€Ž.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:3dc5488760063ddc32216104271a3c12a2fa46a613269b4c65d5378730b0df45
6-
sourceBlobDigest: sha256:a44fa84bc753df180bf93c118992517157f58d85f05060594ec5db8a8df722e9
5+
sourceRevisionDigest: sha256:0fca4fc755e3b2a2c6dd519faeb4112c9d3fa11e550bfb1bdb17bff7a0f6916b
6+
sourceBlobDigest: sha256:e6a89329a7ffc8e70b19f15074c725d833ebc2d48b4f175292f3848d27fe4030
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:3dc5488760063ddc32216104271a3c12a2fa46a613269b4c65d5378730b0df45
15-
sourceBlobDigest: sha256:a44fa84bc753df180bf93c118992517157f58d85f05060594ec5db8a8df722e9
14+
sourceRevisionDigest: sha256:0fca4fc755e3b2a2c6dd519faeb4112c9d3fa11e550bfb1bdb17bff7a0f6916b
15+
sourceBlobDigest: sha256:e6a89329a7ffc8e70b19f15074c725d833ebc2d48b4f175292f3848d27fe4030
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:78d1e498502fa4ba5f24037192aec3074e192aad4d4703552edc049e9190b2e0
17+
codeSamplesRevisionDigest: sha256:1c0fdec8655eadaad225ddec51c96f6218855f0e7c11c9463e181b1d50e7c6f3
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
@@ -1689,4 +1689,14 @@ Based on:
16891689
### Generated
16901690
- [python v1.1.90] .
16911691
### Releases
1692-
- [PyPI v1.1.90] https://pypi.org/project/openrouter/1.1.90 - .
1692+
- [PyPI v1.1.90] https://pypi.org/project/openrouter/1.1.90 - .
1693+
1694+
## 2026-08-26 08:21:04
1695+
### Changes
1696+
Based on:
1697+
- OpenAPI Doc
1698+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1699+
### Generated
1700+
- [python v1.1.91] .
1701+
### Releases
1702+
- [PyPI v1.1.91] https://pypi.org/project/openrouter/1.1.91 - .

β€Ždocs/components/imagegenerationrequest.mdxβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ Image generation request input
2222
| `resolution` | [Optional[components.ImageGenerationRequestResolution]](../components/imagegenerationrequestresolution.mdx) | :heavy_minus_sign: | Normalized resolution tier of the generated image. Concrete pixel dimensions are derived per-provider. | 2K |
2323
| `seed` | *Optional[int]* | :heavy_minus_sign: | If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers. | |
2424
| `size` | *Optional[str]* | :heavy_minus_sign: | Optional. A convenience shorthand for output dimensions β€” pass a tier ("2K", "4K") or explicit pixels ("2048x2048") and we normalize it to the right dimensions for the chosen provider. A tier size is equivalent to setting `resolution` and combines with `aspect_ratio`. An explicit pixel size is authoritative: a mismatched `resolution` or `aspect_ratio` alongside it is rejected with a 400. | 2K |
25-
| `stream` | *Optional[bool]* | :heavy_minus_sign: | If true, partial images are streamed as SSE events as they become available. Only supported by providers with native streaming (currently OpenAI). Non-streaming providers ignore this flag and return a buffered response. | |
25+
| `stream` | *Optional[bool]* | :heavy_minus_sign: | If true, partial images are streamed as SSE events as they become available. Only supported by providers with native streaming (currently OpenAI). Non-streaming providers ignore this flag and return a buffered response. | |
26+
| `user` | *Optional[str]* | :heavy_minus_sign: | A stable identifier for your end-users. Used to help detect and prevent abuse. Never sent to providers verbatim: for providers whose data policy requires user IDs, it is folded into a hashed, per-account upstream user identifier. | end-user-abc123 |

0 commit comments

Comments
Β (0)