Skip to content

Commit b0fe9c9

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

8 files changed

Lines changed: 72 additions & 27 deletions

File tree

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

Lines changed: 10 additions & 10 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: 15ec258ef271a97cb724ed5943a62604
4+
docChecksum: f611bdab224d0286fbaa5c8d9ee788d3
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.166
9-
configChecksum: e7bd48e5b35be67e8115c656972562fc
8+
releaseVersion: 1.3.167
9+
configChecksum: 6f4174e9744dd1a79a9169c84bf46f7f
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: f00bffdd-6094-499a-870f-28558d53422b
15-
pristine_commit_hash: cee92fd533b231c5aba258a7d107a12101c47842
16-
pristine_tree_hash: f6453306c43265f360ce16d2e835a5f7119ef988
14+
generation_id: 13e378c9-1e4e-4933-8b6f-740d4d09179e
15+
pristine_commit_hash: 751a04fd6a50f7216cae4e29e6d9ff261f5abc57
16+
pristine_tree_hash: 050ec9f9aacd7be4dbd8f55ec4abebb186f92339
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -11620,8 +11620,8 @@ trackedFiles:
1162011620
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1162111621
pyproject.toml:
1162211622
id: 5d07e7d72637
11623-
last_write_checksum: sha1:d2f64c244c07df2045098ac91eacb829dbe2b555
11624-
pristine_git_object: 53ab93ff9a221b933458f3f689bd5a76a773241c
11623+
last_write_checksum: sha1:1203dbc2c60a8c1ba4296f4619f203ed2de0ab7c
11624+
pristine_git_object: 47de851775601f74d2bccf94a92a722486a32121
1162511625
scripts/prepare_readme.py:
1162611626
id: e0c5957a6035
1162711627
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11648,8 +11648,8 @@ trackedFiles:
1164811648
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1164911649
src/openrouter/_version.py:
1165011650
id: d8d15ad6c586
11651-
last_write_checksum: sha1:7473355f87874fa01800e69fa6bf7095e82eda03
11652-
pristine_git_object: af69252cbad2050a6373bd48d1391a72328906e3
11651+
last_write_checksum: sha1:d30bd7e48b70ac8fad34b1b243b17e93585c18d6
11652+
pristine_git_object: bb87867809391815626034883cd8f37e869e46e7
1165311653
src/openrouter/alpha.py:
1165411654
id: 306c4d93308d
1165511655
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.166
40+
version: 1.3.167
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

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

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11580,6 +11580,37 @@ components:
1158011580
required:
1158111581
- 'data'
1158211582
type: 'object'
11583+
CreditPurchaseUnavailableResponse:
11584+
example:
11585+
error:
11586+
code: 503
11587+
message: 'The payment transfer could not be confirmed; poll the purchase before retrying'
11588+
metadata:
11589+
purchase_id: 'pi_3PqXyZ2eZvKYlo2C0abc1234'
11590+
properties:
11591+
error:
11592+
properties:
11593+
code:
11594+
type: 'integer'
11595+
message:
11596+
type: 'string'
11597+
metadata:
11598+
description: 'Present when the outcome of a paid request is unknown and its purchase is known.'
11599+
properties:
11600+
purchase_id:
11601+
description: 'The purchase to poll with `GET /api/v1/credits/purchases/{id}` before paying again.'
11602+
example: 'pi_3PqXyZ2eZvKYlo2C0abc1234'
11603+
type: 'string'
11604+
required:
11605+
- 'purchase_id'
11606+
type: 'object'
11607+
required:
11608+
- 'code'
11609+
- 'message'
11610+
type: 'object'
11611+
required:
11612+
- 'error'
11613+
type: 'object'
1158311614
CustomTool:
1158411615
description: 'Custom tool configuration'
1158511616
example:
@@ -43407,13 +43438,17 @@ paths:
4340743438
'503':
4340843439
content:
4340943440
application/json:
43410-
example:
43411-
error:
43412-
code: 503
43413-
message: 'Service temporarily unavailable'
4341443441
schema:
43415-
$ref: '#/components/schemas/ServiceUnavailableResponse'
43416-
description: 'Service Unavailable - Service temporarily unavailable'
43442+
$ref: '#/components/schemas/CreditPurchaseUnavailableResponse'
43443+
description: 'Temporarily unavailable, or the outcome of a paid request is unknown. When the outcome is unknown and the purchase is known, `Location` and `error.metadata.purchase_id` name the purchase: poll it before paying again.'
43444+
headers:
43445+
Location:
43446+
description: 'The purchase to poll: `GET /api/v1/credits/purchases/{id}`. Present when the outcome of a paid request is unknown and its purchase is known.'
43447+
required: false
43448+
schema:
43449+
description: 'The purchase to poll: `GET /api/v1/credits/purchases/{id}`. Present when the outcome of a paid request is unknown and its purchase is known.'
43450+
example: '/api/v1/credits/purchases/pi_3PqXyZ2eZvKYlo2C0abc1234'
43451+
type: 'string'
4341743452
security:
4341843453
- bearerAuth: []
4341943454
summary: 'Buy credits with a machine payment'

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:706a0d0dcd17f56d39627aed08c307d08ccbd3e8d0d62ad3b97edcfc700ed535
6-
sourceBlobDigest: sha256:34a70575a45a7e8fde508049e1f43a9d304993d033fb5d5d3dd06a71552c0c34
5+
sourceRevisionDigest: sha256:16d7ed4db920431d905f1a12e945b8f866f3f63622ee49e5fe7981d36b6bcb13
6+
sourceBlobDigest: sha256:29d1d4a3143d0511f39920ff3e07c19c3fde928a7cbbefe29183066f0bb5390e
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:706a0d0dcd17f56d39627aed08c307d08ccbd3e8d0d62ad3b97edcfc700ed535
15-
sourceBlobDigest: sha256:34a70575a45a7e8fde508049e1f43a9d304993d033fb5d5d3dd06a71552c0c34
14+
sourceRevisionDigest: sha256:16d7ed4db920431d905f1a12e945b8f866f3f63622ee49e5fe7981d36b6bcb13
15+
sourceBlobDigest: sha256:29d1d4a3143d0511f39920ff3e07c19c3fde928a7cbbefe29183066f0bb5390e
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:7c3d0717ac950056274d148e7b297e04596417071ea81ab27865a97a6117e860
17+
codeSamplesRevisionDigest: sha256:6ca132ff16bd92b74b90eec43b2d75d0ce91994ff2c62ae539ba207586b35622
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4429,4 +4429,14 @@ Based on:
44294429
### Generated
44304430
- [python v1.3.166] .
44314431
### Releases
4432-
- [PyPI v1.3.166] https://pypi.org/project/openrouter/1.3.166 - .
4432+
- [PyPI v1.3.166] https://pypi.org/project/openrouter/1.3.166 - .
4433+
4434+
## 2026-11-12 05:25:39
4435+
### Changes
4436+
Based on:
4437+
- OpenAPI Doc
4438+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4439+
### Generated
4440+
- [python v1.3.167] .
4441+
### Releases
4442+
- [PyPI v1.3.167] https://pypi.org/project/openrouter/1.3.167 - .

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

1111
try:
1212
if __package__ is not None:

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