Skip to content

Commit bff321e

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

12 files changed

Lines changed: 47 additions & 62 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 18 additions & 43 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: a2c7148dfea3b69c10b8bd3f1c2e6162
4+
docChecksum: 38b116dcd76ec799eea497e956a66f42
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.133
9-
configChecksum: 15120a6d2f0ea88a1482d84220892fc0
8+
releaseVersion: 1.3.134
9+
configChecksum: 0e56e7298a9f49166f549c467785dc2a
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: d3085a65-fd81-4205-8819-2a92e22407f2
15-
pristine_commit_hash: 75d38d4fec85a17eb99012f00f93d206d10fc2a9
16-
pristine_tree_hash: 51a4f2979f45a390ce302b335b2be1fe9f4e85d7
14+
generation_id: 3b40450a-e752-4c54-a7ea-fa2b2379e8a5
15+
pristine_commit_hash: fa88f444fcfab969f83fa311fdbc0b6f854d4732
16+
pristine_tree_hash: 808ca2b64e771b552d2ab1dbd7e4be848b3b22d0
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -8916,8 +8916,8 @@ trackedFiles:
89168916
pristine_git_object: ec3df81fe733a4e648afc6c07b2aa00c830a74b3
89178917
docs/components/updateprivateendpointrequest.mdx:
89188918
id: 8a1aa4763af9
8919-
last_write_checksum: sha1:594e8a7a7292ab7e7c2e4c4393fc3b5ec7c3e249
8920-
pristine_git_object: 89ac9f1e2345ed051e1c2b9f3db884bda4e205e4
8919+
last_write_checksum: sha1:92290beb45d2607a2571f8e1ff756be3ee97db2a
8920+
pristine_git_object: 4a5c21129bf2c9c04610cc66581bcdb72986bc90
89218921
docs/components/updateprivateendpointrequestdeclaredregion.mdx:
89228922
id: bb4329841f25
89238923
last_write_checksum: sha1:b0db12e42df729be3b5ee9557f5426c6a10eebfe
@@ -11504,8 +11504,8 @@ trackedFiles:
1150411504
pristine_git_object: 10dbc7da31e08f14827c9bab01ff6997b5837094
1150511505
docs/sdks/privateendpoints/README.mdx:
1150611506
id: 54dee70b8cc7
11507-
last_write_checksum: sha1:3ac93193ced7cea4d0acceecdc52f8348d035275
11508-
pristine_git_object: 471a5df2d57e9544e20f44c8086b628fc7d28980
11507+
last_write_checksum: sha1:df30945c0fcc9fa7e507ea2dbbfc275946151ebd
11508+
pristine_git_object: 7e32658db2e9f416a2ffe5c86e885edf75e47cc2
1150911509
docs/sdks/privateproviders/README.mdx:
1151011510
id: 517c31195442
1151111511
last_write_checksum: sha1:69cd8bc9ffad703ca458c861510c201be38f283b
@@ -11560,8 +11560,8 @@ trackedFiles:
1156011560
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1156111561
pyproject.toml:
1156211562
id: 5d07e7d72637
11563-
last_write_checksum: sha1:561c6767be55ec00414b083a9770c1019ce9e1b9
11564-
pristine_git_object: 8e0cd00d3bf5043c3834bd1626f2f25318a3997f
11563+
last_write_checksum: sha1:6e48b629c4bfafa5dcf8bc93147c57eb8f96cdb5
11564+
pristine_git_object: 5b4e440a737ba8ed964a5cc9b6851bd47c51c849
1156511565
scripts/prepare_readme.py:
1156611566
id: e0c5957a6035
1156711567
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11588,8 +11588,8 @@ trackedFiles:
1158811588
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1158911589
src/openrouter/_version.py:
1159011590
id: d8d15ad6c586
11591-
last_write_checksum: sha1:7b1362315ea0b04dcbc29770d30d9c622d664275
11592-
pristine_git_object: dbc0718671295b361bcebf663f0d8d2e6372db93
11591+
last_write_checksum: sha1:3b5e6293f12225b7d6c19926d454cf4c103c69dd
11592+
pristine_git_object: bff9ce30b9bc2b3728d6aa1754711f0e1b5de43f
1159311593
src/openrouter/alpha.py:
1159411594
id: 306c4d93308d
1159511595
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -15240,8 +15240,8 @@ trackedFiles:
1524015240
pristine_git_object: add97f9dbdd883540c97aaeffb4a9f227097b07e
1524115241
src/openrouter/components/updateprivateendpointrequest.py:
1524215242
id: 51a950d71ff3
15243-
last_write_checksum: sha1:8cce23bc93220d54540778d40d0dcc615f143e8f
15244-
pristine_git_object: 8df7de96472560bd34435f2b65e4007b97ba3514
15243+
last_write_checksum: sha1:7d0d90d6a715ecf9f05973da4f0a0b69deb1b91c
15244+
pristine_git_object: 781779489a3864583f1bc1fd758797dfb07c08fa
1524515245
src/openrouter/components/updateprivateendpointsettingsrequest.py:
1524615246
id: 5e27265a3151
1524715247
last_write_checksum: sha1:66c49c54b08c084b95c2d46db1e373c73a116045
@@ -16312,8 +16312,8 @@ trackedFiles:
1631216312
pristine_git_object: 4edc4e886abe1848022ee7931877859e2d809bfb
1631316313
src/openrouter/private_endpoints.py:
1631416314
id: fdbce8846ed0
16315-
last_write_checksum: sha1:c8baf7bd88047e96d693b2d08e37c77fa8607468
16316-
pristine_git_object: a33f9f4f03ba25f7908cdcd47cd056128c734ca2
16315+
last_write_checksum: sha1:3d7385776334bff0c853f956633941c4fe1bc42e
16316+
pristine_git_object: 9b93b63dc7368f0eb40fe464e931dff586ac4c62
1631716317
src/openrouter/private_providers.py:
1631816318
id: d2b888527155
1631916319
last_write_checksum: sha1:73483e415ea971a08d9d76b2ed55dc164ae3953a
@@ -21493,28 +21493,3 @@ examples:
2149321493
"500":
2149421494
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
2149521495
examplesVersion: 1.0.2
21496-
releaseNotes: |
21497-
## Python SDK Changes:
21498-
* `open_router.guardrail_policies.list_account_policies()`: **Added**
21499-
* `open_router.guardrail_policies.create_account_policy()`: **Added**
21500-
* `open_router.guardrail_policies.delete_account_policy()`: **Added**
21501-
* `open_router.guardrail_policies.update_account_policy()`: **Added**
21502-
* `open_router.guardrail_policies.get_api_key_policy_assignment()`: **Added**
21503-
* `open_router.guardrail_policies.change_api_key_policy_assignment()`: **Added**
21504-
* `open_router.guardrail_policies.get_member_policy_assignment()`: **Added**
21505-
* `open_router.guardrail_policies.change_member_policy_assignment()`: **Added**
21506-
* `open_router.guardrail_policies.list_budget_policies()`: **Added**
21507-
* `open_router.guardrail_policies.create_budget_policy()`: **Added**
21508-
* `open_router.guardrail_policies.delete_budget_policy()`: **Added**
21509-
* `open_router.guardrail_policies.get_budget_policy()`: **Added**
21510-
* `open_router.guardrail_policies.update_budget_policy()`: **Added**
21511-
* `open_router.guardrail_policies.list_model_availability_policies()`: **Added**
21512-
* `open_router.guardrail_policies.create_model_availability_policy()`: **Added**
21513-
* `open_router.guardrail_policies.delete_model_availability_policy()`: **Added**
21514-
* `open_router.guardrail_policies.get_model_availability_policy()`: **Added**
21515-
* `open_router.guardrail_policies.update_model_availability_policy()`: **Added**
21516-
* `open_router.guardrail_policies.list_moderation_policies()`: **Added**
21517-
* `open_router.guardrail_policies.create_moderation_policy()`: **Added**
21518-
* `open_router.guardrail_policies.delete_moderation_policy()`: **Added**
21519-
* `open_router.guardrail_policies.get_moderation_policy()`: **Added**
21520-
* `open_router.guardrail_policies.update_moderation_policy()`: **Added**

‎.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.133
40+
version: 1.3.134
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36814,7 +36814,7 @@ components:
3681436814
- 'is_filtered_model_catalog_enabled'
3681536815
type: 'object'
3681636816
UpdatePrivateEndpointRequest:
36817-
description: 'Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.'
36817+
description: 'Only the fields present change. `base_url` and `upstream_model_id` are accepted on a draft only; `declared_zdr` and `declared_region` on drafts and active endpoints; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.'
3681836818
example:
3681936819
declared_parameters:
3682036820
- 'seed'
@@ -54596,7 +54596,7 @@ paths:
5459654596
- 'Private Endpoints'
5459754597
x-speakeasy-name-override: 'get'
5459854598
patch:
54599-
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. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` 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 upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; 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.'
54599+
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.'
5460054600
operationId: 'updatePrivateEndpoint'
5460154601
parameters:
5460254602
- 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:32e6f27c711a47de1df4736da8dd46322a23aa3a6ebf4ae72a32365f0eccef54
6-
sourceBlobDigest: sha256:3f24df2097b4e6ea0a2e78c3a05348003ce35e479fc7fb4f44e477cee935569e
5+
sourceRevisionDigest: sha256:00c04687d464fa96db56087dbd329415297b5bf20d6a937926c2866e51c7c264
6+
sourceBlobDigest: sha256:84763d7d924a44236c865d42fbe309c658fe5c4fda8a54065640c6d5b52a436d
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:32e6f27c711a47de1df4736da8dd46322a23aa3a6ebf4ae72a32365f0eccef54
15-
sourceBlobDigest: sha256:3f24df2097b4e6ea0a2e78c3a05348003ce35e479fc7fb4f44e477cee935569e
14+
sourceRevisionDigest: sha256:00c04687d464fa96db56087dbd329415297b5bf20d6a937926c2866e51c7c264
15+
sourceBlobDigest: sha256:84763d7d924a44236c865d42fbe309c658fe5c4fda8a54065640c6d5b52a436d
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:c61748d4ef59c9dba3f8d6cc7cbb16c42f24affbf502f307bed9777c87293eaf
17+
codeSamplesRevisionDigest: sha256:74e65c8c21babdd13dd933553f2d35e3c2b3e070ea3b6cc2fb6f578072947372
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
@@ -4099,4 +4099,14 @@ Based on:
40994099
### Generated
41004100
- [python v1.3.133] .
41014101
### Releases
4102-
- [PyPI v1.3.133] https://pypi.org/project/openrouter/1.3.133 - .
4102+
- [PyPI v1.3.133] https://pypi.org/project/openrouter/1.3.133 - .
4103+
4104+
## 2026-11-06 15:29:22
4105+
### Changes
4106+
Based on:
4107+
- OpenAPI Doc
4108+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4109+
### Generated
4110+
- [python v1.3.134] .
4111+
### Releases
4112+
- [PyPI v1.3.134] https://pypi.org/project/openrouter/1.3.134 - .

‎docs/components/updateprivateendpointrequest.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "UpdatePrivateEndpointRequest"
33
---
44

5-
Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.
5+
Only the fields present change. `base_url` and `upstream_model_id` are accepted on a draft only; `declared_zdr` and `declared_region` on drafts and active endpoints; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.
66

77

88
## Fields

‎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. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` 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 upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; 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. [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.133"
3+
version = "1.3.134"
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.133"
6+
__version__: str = "1.3.134"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.950.13"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.133 2.950.13 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.134 2.950.13 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/components/updateprivateendpointrequest.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737
class UpdatePrivateEndpointRequestTypedDict(TypedDict):
38-
r"""Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default."""
38+
r"""Only the fields present change. `base_url` and `upstream_model_id` are accepted on a draft only; `declared_zdr` and `declared_region` on drafts and active endpoints; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default."""
3939

4040
base_url: NotRequired[str]
4141
r"""HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex)."""
@@ -52,7 +52,7 @@ class UpdatePrivateEndpointRequestTypedDict(TypedDict):
5252

5353

5454
class UpdatePrivateEndpointRequest(BaseModel):
55-
r"""Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default."""
55+
r"""Only the fields present change. `base_url` and `upstream_model_id` are accepted on a draft only; `declared_zdr` and `declared_region` on drafts and active endpoints; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default."""
5656

5757
base_url: Optional[str] = None
5858
r"""HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex)."""

0 commit comments

Comments
 (0)