Skip to content

Commit 62569cb

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

10 files changed

Lines changed: 39 additions & 29 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: fb25ea45ea38d174ed1781b0fe76f3da
4+
docChecksum: 62faa0000aa638e77f78e2078c7609aa
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.161
9-
configChecksum: b10b378bcf96c67cf35c44595ecca9e9
8+
releaseVersion: 1.3.162
9+
configChecksum: 5ef36ad2cc020eeb8fcddead3fd5305b
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: 8eec1049-b1d4-4ea5-806e-00e72f4c9cc2
15-
pristine_commit_hash: 69a26d6b77b73d538ffd60b1527aca93bd7b9a2f
16-
pristine_tree_hash: 83b09277e0b2ac0b7210ea5080d00c085d3b30f0
14+
generation_id: 53522988-5b97-4200-91b1-269089794d25
15+
pristine_commit_hash: 09d6b09e10bc44b83ed466ac85de13c9bb33247c
16+
pristine_tree_hash: de2e9d154a1adca3c476bc9a008782fbc7599785
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -11532,8 +11532,8 @@ trackedFiles:
1153211532
pristine_git_object: bbae48172a2146cb8b3cef449501f0c009665f07
1153311533
docs/sdks/privateendpoints/README.mdx:
1153411534
id: 54dee70b8cc7
11535-
last_write_checksum: sha1:df30945c0fcc9fa7e507ea2dbbfc275946151ebd
11536-
pristine_git_object: 7e32658db2e9f416a2ffe5c86e885edf75e47cc2
11535+
last_write_checksum: sha1:2d1c2df07e7e74be533180cd856d939ad3fadba1
11536+
pristine_git_object: dd973fe7aff022167bc217198048f777717a905d
1153711537
docs/sdks/privateproviders/README.mdx:
1153811538
id: 517c31195442
1153911539
last_write_checksum: sha1:69cd8bc9ffad703ca458c861510c201be38f283b
@@ -11588,8 +11588,8 @@ trackedFiles:
1158811588
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1158911589
pyproject.toml:
1159011590
id: 5d07e7d72637
11591-
last_write_checksum: sha1:23675a7f96d6207b43071f874a24c0c366407099
11592-
pristine_git_object: 40aeec2cf362056ece236220960327fa622c02df
11591+
last_write_checksum: sha1:5d03ad9ccc94bf8e7cbd608549407b8a9492c6cc
11592+
pristine_git_object: 7c11dd04fe3a4aafa3bd88595b2c3a9c83b788cd
1159311593
scripts/prepare_readme.py:
1159411594
id: e0c5957a6035
1159511595
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11616,8 +11616,8 @@ trackedFiles:
1161611616
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1161711617
src/openrouter/_version.py:
1161811618
id: d8d15ad6c586
11619-
last_write_checksum: sha1:4bfbd6a3c6baea3f74aa1906449fbaf1e7e37425
11620-
pristine_git_object: daa46c243c91df43aca1c8f821d47f4dcb4b6e30
11619+
last_write_checksum: sha1:a97191251858292906878c44c4ecb99a3eb8e2a1
11620+
pristine_git_object: 45f52a610e6f127a4ec958f5769b98dcdbe58b72
1162111621
src/openrouter/alpha.py:
1162211622
id: 306c4d93308d
1162311623
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -16348,8 +16348,8 @@ trackedFiles:
1634816348
pristine_git_object: c40ca7d9e8bc5a3c89f76da4b2eb8c7b6f4d17e1
1634916349
src/openrouter/private_endpoints.py:
1635016350
id: fdbce8846ed0
16351-
last_write_checksum: sha1:3d7385776334bff0c853f956633941c4fe1bc42e
16352-
pristine_git_object: 9b93b63dc7368f0eb40fe464e931dff586ac4c62
16351+
last_write_checksum: sha1:9ad3004604d7760fb231594fe29b42fb2bd74f87
16352+
pristine_git_object: 48739b138a219e285adf62a6217a2b6fed5b71bb
1635316353
src/openrouter/private_providers.py:
1635416354
id: d2b888527155
1635516355
last_write_checksum: sha1:73483e415ea971a08d9d76b2ed55dc164ae3953a

β€Ž.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.161
40+
version: 1.3.162
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55400,7 +55400,7 @@ paths:
5540055400
- 'Private Endpoints'
5540155401
x-speakeasy-name-override: 'get'
5540255402
patch:
55403-
description: 'Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
55403+
description: 'Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent, or `pricing_cache_read_unsupported` or `pricing_cache_write_unsupported` when that rate is a cache rate the strategy has no SKU for. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
5540455404
operationId: 'updatePrivateEndpoint'
5540555405
parameters:
5540655406
- description: 'Stable identifier of the private endpoint.'

β€Ž.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:f4379159e4c5d6d05d158c3579d3103b30744f6a225c31f9a89c7cc348ac1e90
6-
sourceBlobDigest: sha256:30ee3837d50b20731a7ad325f1bbb7bc0ff1319b9c0fe631070acecab6b82279
5+
sourceRevisionDigest: sha256:fdff72dee81d3a8b9acb40488eca6cdbcffff3f5f458c8a9f973ec8339186502
6+
sourceBlobDigest: sha256:8c813febc37ddfc6b3b5e0d371e986d118990426567b4facd8d1a91e71591a59
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:f4379159e4c5d6d05d158c3579d3103b30744f6a225c31f9a89c7cc348ac1e90
15-
sourceBlobDigest: sha256:30ee3837d50b20731a7ad325f1bbb7bc0ff1319b9c0fe631070acecab6b82279
14+
sourceRevisionDigest: sha256:fdff72dee81d3a8b9acb40488eca6cdbcffff3f5f458c8a9f973ec8339186502
15+
sourceBlobDigest: sha256:8c813febc37ddfc6b3b5e0d371e986d118990426567b4facd8d1a91e71591a59
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:0adccb2698a6ed530a39716814ff8246a4c82c64076663e29c9b657ac9bd898e
17+
codeSamplesRevisionDigest: sha256:dfec619274d7b18a030c9cf8714c4c822fb6da376d84e8af9c69797d2229f640
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
@@ -4379,4 +4379,14 @@ Based on:
43794379
### Generated
43804380
- [python v1.3.161] .
43814381
### Releases
4382-
- [PyPI v1.3.161] https://pypi.org/project/openrouter/1.3.161 - .
4382+
- [PyPI v1.3.161] https://pypi.org/project/openrouter/1.3.161 - .
4383+
4384+
## 2026-11-11 19:53:45
4385+
### Changes
4386+
Based on:
4387+
- OpenAPI Doc
4388+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4389+
### Generated
4390+
- [python v1.3.162] .
4391+
### Releases
4392+
- [PyPI v1.3.162] https://pypi.org/project/openrouter/1.3.162 - .

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

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

244244
## update
245245

246-
Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required.
246+
Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent, or `pricing_cache_read_unsupported` or `pricing_cache_write_unsupported` when that rate is a cache rate the strategy has no SKU for. [Management key](/docs/guides/overview/auth/management-api-keys) required.
247247

248248
### Example Usage
249249

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

1111
try:
1212
if __package__ is not None:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ def update(
13551355
) -> components.PrivateEndpointResponse:
13561356
r"""Update a private endpoint
13571357
1358-
Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required.
1358+
Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent, or `pricing_cache_read_unsupported` or `pricing_cache_write_unsupported` when that rate is a cache rate the strategy has no SKU for. [Management key](/docs/guides/overview/auth/management-api-keys) required.
13591359
13601360
:param id: Stable identifier of the private endpoint.
13611361
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
@@ -1564,7 +1564,7 @@ async def update_async(
15641564
) -> components.PrivateEndpointResponse:
15651565
r"""Update a private endpoint
15661566
1567-
Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required.
1567+
Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `declared_zdr` and `declared_region` change on drafts and active endpoints alike; on an active endpoint the change keeps its validation and tested parameters, and routing applies it to subsequent requests. `upstream_model_id` and `base_url` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any change to the upstream or declarations of a draft clears earlier validation. Naming `upstream_model_id` or `base_url` on an active endpoint returns 409 `already_active` and writes nothing, even alongside other fields; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent, or `pricing_cache_read_unsupported` or `pricing_cache_write_unsupported` when that rate is a cache rate the strategy has no SKU for. [Management key](/docs/guides/overview/auth/management-api-keys) required.
15681568
15691569
:param id: Stable identifier of the private endpoint.
15701570
: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)