Skip to content

Commit 0803d87

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

12 files changed

Lines changed: 117 additions & 27 deletions

File tree

.speakeasy/gen.lock

Lines changed: 24 additions & 16 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: 6b4a8542e991f840a99e609a9c92b16a
4+
docChecksum: 03debdc8d24d4dddc93cea8075931d77
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.158
9-
configChecksum: 149aa2689e4957309bb4c1b977ccd927
8+
releaseVersion: 1.1.159
9+
configChecksum: fd98805ff1b03acfa034ef646f6b33b6
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: 09e2bccd-885d-413a-a5cb-fc35ac545c1a
15-
pristine_commit_hash: 277d07755a439c31266aec30277ca519ba6e39dc
16-
pristine_tree_hash: 80913373c42f4ea1636b8ec24826ba9608671274
14+
generation_id: 16700c4e-c46e-4247-b019-436fcf69246f
15+
pristine_commit_hash: 330eef4f60b8f72d1510a40d7092208a9a240a90
16+
pristine_tree_hash: f734119a88cf2398cccd3f7bd147f08a030f9b34
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1808,6 +1808,10 @@ trackedFiles:
18081808
id: 8b6b222a5da7
18091809
last_write_checksum: sha1:e37576941ec9e2cb4fe176277bb02b9cc86f6f48
18101810
pristine_git_object: 5d2d4dc2ddfc8d88c4869242498affc0b46f969e
1811+
docs/components/decisions.mdx:
1812+
id: 2cbde2112b18
1813+
last_write_checksum: sha1:90f7268b80fdabbdf4f5c78aac765d6442539348
1814+
pristine_git_object: d68a93a6e4f6d372e9be4554174339d4dbd86f67
18111815
docs/components/decisionschoiceanswer.mdx:
18121816
id: 8453afbdc1aa
18131817
last_write_checksum: sha1:6c917d892506ab1257cf46468e58a0fb6f130f8b
@@ -4686,8 +4690,8 @@ trackedFiles:
46864690
pristine_git_object: 86ea312944a50501fd307f41c471b2462adeeb5e
46874691
docs/components/perflast30mbyworkload.mdx:
46884692
id: bdcf1999b086
4689-
last_write_checksum: sha1:1390768d24471859dc830f0dbd892085aceab9c5
4690-
pristine_git_object: a75ac7be6f20c9b564a2fc7bc23d8efc4057bac1
4693+
last_write_checksum: sha1:0d6efbd8fc766892de7dcf9565d7457448b4e6fd
4694+
pristine_git_object: 193447130fc6f38685f2b762681c8ea46c347e43
46914695
docs/components/perrequestlimits.mdx:
46924696
id: a503880c4645
46934697
last_write_checksum: sha1:a971ac638f0c8885577b1165909c8d5ef6b77e1f
@@ -8154,8 +8158,8 @@ trackedFiles:
81548158
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
81558159
pyproject.toml:
81568160
id: 5d07e7d72637
8157-
last_write_checksum: sha1:58ed3a2d2fa0db47040241f3a4d1c9a24e1a2fcf
8158-
pristine_git_object: 942f29aeae46ffbae048748c32bb4f9413d35662
8161+
last_write_checksum: sha1:270325a9d1b6cc9957b80685361a74e4c1eda8d3
8162+
pristine_git_object: 7bac6b6178904740ab981df0378ec88883996ac0
81598163
scripts/prepare_readme.py:
81608164
id: e0c5957a6035
81618165
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -8182,8 +8186,8 @@ trackedFiles:
81828186
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
81838187
src/openrouter/_version.py:
81848188
id: d8d15ad6c586
8185-
last_write_checksum: sha1:cfd0e41c1049fd8a411f75f715891767592d58cc
8186-
pristine_git_object: 13c50d4098317244793f918499ecba0ba133fb85
8189+
last_write_checksum: sha1:fc59ea125c8202c0d65f68a459e310521e2899e4
8190+
pristine_git_object: ca93db7bc4c211da0f565f1627787c63a81cbf03
81878191
src/openrouter/alpha.py:
81888192
id: 306c4d93308d
81898193
last_write_checksum: sha1:0c25a52ed5fb688ec1e923e4e82bcfc9cae49465
@@ -8226,8 +8230,8 @@ trackedFiles:
82268230
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
82278231
src/openrouter/components/__init__.py:
82288232
id: 81754e97b3f4
8229-
last_write_checksum: sha1:d21e29eb27b9db4d1f75ea2d4c2a98ad18099e11
8230-
pristine_git_object: 48647085cc6fe2b73d22ba0cf28de9aa8c35699d
8233+
last_write_checksum: sha1:4688e864f8d90268569ae28857855ab932974184
8234+
pristine_git_object: 87f19fea2c07bf561e2f0c547ce439e545979c07
82318235
src/openrouter/components/aabenchmarkentry.py:
82328236
id: e2e0f0b48c82
82338237
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -10294,8 +10298,8 @@ trackedFiles:
1029410298
pristine_git_object: 5f4a4186a9c98767217546b6b87d238fbc0155f3
1029510299
src/openrouter/components/publicendpoint.py:
1029610300
id: 848aa2ef9129
10297-
last_write_checksum: sha1:859e0d6fb0db27400d0ce70949dfb1b08ac47bed
10298-
pristine_git_object: 2b6ad0a0dbfebf6be9e7c4eaff03b99da5e2f890
10301+
last_write_checksum: sha1:42707d2210be0e29267c85b4454676dfd56164b9
10302+
pristine_git_object: 7830ec36d3bd2bcd575007c61910165ebe0f2952
1029910303
src/openrouter/components/publicpricing.py:
1030010304
id: 96d115d83cc5
1030110305
last_write_checksum: sha1:fd8c320ac83b282eaf2405045329b55076d4311a
@@ -14936,3 +14940,7 @@ examples:
1493614940
"502":
1493714941
application/json: {"error": {"code": 409, "message": "That question is no longer waiting for an answer."}}
1493814942
examplesVersion: 1.0.2
14943+
releaseNotes: |
14944+
## Python SDK Changes:
14945+
* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].perf_last_30m_by_workload.decisions` **Added**
14946+
* `open_router.endpoints.list()`: `response.data.endpoints[].perf_last_30m_by_workload.decisions` **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.158
39+
version: 1.1.159
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23693,6 +23693,26 @@ components:
2369323693
additionalProperties: false
2369423694
description: 'Endpoint performance over the last 30 minutes, keyed by the kind of request served (e.g. `text_generation`, `image_generation`). Additive to the legacy singular latency and throughput fields; image and video generation report end-to-end latency. Only visible when authenticated with an API key or cookie.'
2369523695
properties:
23696+
decisions:
23697+
properties:
23698+
latency:
23699+
allOf:
23700+
- $ref: '#/components/schemas/PercentileStats'
23701+
- description: 'Latency percentiles in milliseconds for this workload. Image and video generation report full end-to-end generation time, because their raw latency only measures request acknowledgement; every other workload reports time to first token or result.'
23702+
request_count:
23703+
description: 'Total requests admitted for this workload in the window.'
23704+
type:
23705+
- 'integer'
23706+
- 'null'
23707+
throughput:
23708+
allOf:
23709+
- $ref: '#/components/schemas/PercentileStats'
23710+
- description: 'Throughput percentiles in tokens per second. Only meaningful for text generation; null for workloads without token throughput.'
23711+
required:
23712+
- 'latency'
23713+
- 'throughput'
23714+
- 'request_count'
23715+
type: 'object'
2369623716
embeddings:
2369723717
properties:
2369823718
latency:

.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:218cfb491888dd01bb0b91626a578a8dcf476ca9bcbb60ae34999e54c236c72a
6-
sourceBlobDigest: sha256:09cb6f35097e73250969974686759a2896ee29de88182fc04bcd06a279a3df75
5+
sourceRevisionDigest: sha256:ffba8dbb7f72bdaa2a0e39560adc9786831528f410788b71ca1393a296fb7b3b
6+
sourceBlobDigest: sha256:7c9f591b9cf36f87b8ad27e579cb431262eb2327719f6b725a723ecc890b8958
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:218cfb491888dd01bb0b91626a578a8dcf476ca9bcbb60ae34999e54c236c72a
15-
sourceBlobDigest: sha256:09cb6f35097e73250969974686759a2896ee29de88182fc04bcd06a279a3df75
14+
sourceRevisionDigest: sha256:ffba8dbb7f72bdaa2a0e39560adc9786831528f410788b71ca1393a296fb7b3b
15+
sourceBlobDigest: sha256:7c9f591b9cf36f87b8ad27e579cb431262eb2327719f6b725a723ecc890b8958
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:bc39f80dec774fbaf8d57e1515c9ac07feff2a94dc4ba105cd376f819adf36bf
17+
codeSamplesRevisionDigest: sha256:453d0302f23792a529f3eb3d82fe14ed78fd4fea0f9bf733a16ec56616358024
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
@@ -2369,4 +2369,14 @@ Based on:
23692369
### Generated
23702370
- [python v1.1.158] .
23712371
### Releases
2372-
- [PyPI v1.1.158] https://pypi.org/project/openrouter/1.1.158 - .
2372+
- [PyPI v1.1.158] https://pypi.org/project/openrouter/1.1.158 - .
2373+
2374+
## 2026-09-18 20:09:17
2375+
### Changes
2376+
Based on:
2377+
- OpenAPI Doc
2378+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
2379+
### Generated
2380+
- [python v1.1.159] .
2381+
### Releases
2382+
- [PyPI v1.1.159] https://pypi.org/project/openrouter/1.1.159 - .

docs/components/decisions.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Decisions"
3+
---
4+
5+
## Fields
6+
7+
| Field | Type | Required | Description | Example |
8+
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
9+
| `latency` | [Nullable[components.PercentileStats]](../components/percentilestats.mdx) | :heavy_check_mark: | N/A | \{<br/>"p50": 25.5,<br/>"p75": 35.2,<br/>"p90": 48.7,<br/>"p99": 85.3<br/>} |
10+
| `request_count` | *Nullable[int]* | :heavy_check_mark: | Total requests admitted for this workload in the window. | |
11+
| `throughput` | [Nullable[components.PercentileStats]](../components/percentilestats.mdx) | :heavy_check_mark: | N/A | \{<br/>"p50": 25.5,<br/>"p75": 35.2,<br/>"p90": 48.7,<br/>"p99": 85.3<br/>} |

docs/components/perflast30mbyworkload.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Endpoint performance over the last 30 minutes, keyed by the kind of request serv
99

1010
| Field | Type | Required | Description |
1111
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
12+
| `decisions` | [Optional[components.Decisions]](../components/decisions.mdx) | :heavy_minus_sign: | N/A |
1213
| `embeddings` | [Optional[components.Embeddings]](../components/embeddings.mdx) | :heavy_minus_sign: | N/A |
1314
| `image_generation` | [Optional[components.ImageGeneration]](../components/imagegeneration.mdx) | :heavy_minus_sign: | N/A |
1415
| `rerank` | [Optional[components.Rerank]](../components/rerank.mdx) | :heavy_minus_sign: | N/A |

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.158"
3+
version = "1.1.159"
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.158"
6+
__version__: str = "1.1.159"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.158 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.159 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

src/openrouter/components/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,6 +2780,8 @@
27802780
ProvisionInternResponseTypedDict,
27812781
)
27822782
from .publicendpoint import (
2783+
Decisions,
2784+
DecisionsTypedDict,
27832785
Embeddings,
27842786
EmbeddingsTypedDict,
27852787
ImageGeneration,
@@ -4180,6 +4182,7 @@
41804182
"DebugEventType",
41814183
"DebugEventTypedDict",
41824184
"DebugTypedDict",
4185+
"Decisions",
41834186
"DecisionsChoiceAnswer",
41844187
"DecisionsChoiceAnswerType",
41854188
"DecisionsChoiceAnswerTypedDict",
@@ -4212,6 +4215,7 @@
42124215
"DecisionsScoreQuestionInstructionsTypedDict",
42134216
"DecisionsScoreQuestionType",
42144217
"DecisionsScoreQuestionTypedDict",
4218+
"DecisionsTypedDict",
42154219
"DefaultEffort",
42164220
"DefaultParameters",
42174221
"DefaultParametersTypedDict",
@@ -8058,6 +8062,8 @@
80588062
"ProviderSortConfigTypedDict": ".providersortconfig",
80598063
"ProvisionInternResponse": ".provisioninternresponse",
80608064
"ProvisionInternResponseTypedDict": ".provisioninternresponse",
8065+
"Decisions": ".publicendpoint",
8066+
"DecisionsTypedDict": ".publicendpoint",
80618067
"Embeddings": ".publicendpoint",
80628068
"EmbeddingsTypedDict": ".publicendpoint",
80638069
"ImageGeneration": ".publicendpoint",

0 commit comments

Comments
 (0)