Skip to content

Commit 659074e

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.88 (#1157)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 715561c commit 659074e

10 files changed

Lines changed: 40 additions & 31 deletions

File tree

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

Lines changed: 14 additions & 15 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: 53c154fcf96c897d30be854d25995554
4+
docChecksum: cd38c6b0d27bcda4e77540ad94350fdb
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.87
9-
configChecksum: af14af1f010431d1a1405f151e00821e
8+
releaseVersion: 1.3.88
9+
configChecksum: d1cff2367bbdfc279716b7345e547534
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: 6b413384-157d-4ed9-b8aa-efc726fffbdb
15-
pristine_commit_hash: 3ce2a8227b7e1f828d58ebae0dca1adfdf65a2df
16-
pristine_tree_hash: ef1cba5133df158b3c5ec3dde6091d502fcded6d
14+
generation_id: bb412b4e-2fe5-4d0c-8ebf-6bdde22a0c76
15+
pristine_commit_hash: 1410a7fa153b2a0816765e3ae07af0181bc7ba56
16+
pristine_tree_hash: 5232527313cc402469351b106c223d7c98c296c4
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -10040,8 +10040,8 @@ trackedFiles:
1004010040
pristine_git_object: 27c97e3ee4761cd46f2d5d96be093e1663c6ed93
1004110041
docs/sdks/privateendpoints/README.mdx:
1004210042
id: 54dee70b8cc7
10043-
last_write_checksum: sha1:48a23b4ac96cda69a6f76a3725bbb4c4c5f6a73f
10044-
pristine_git_object: 0bcec24343c9b8abd80f4633676d73158a04c929
10043+
last_write_checksum: sha1:450d0029db686185f379d92964a602b946bbe031
10044+
pristine_git_object: ab814831843fab6ff11f16239f3af00b43ea9651
1004510045
docs/sdks/providers/README.mdx:
1004610046
id: 5ea9af111324
1004710047
last_write_checksum: sha1:570b55655ee7602d3807c3218e450741f634eed6
@@ -10092,8 +10092,8 @@ trackedFiles:
1009210092
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1009310093
pyproject.toml:
1009410094
id: 5d07e7d72637
10095-
last_write_checksum: sha1:1c4468c3e86707e0157a2ae1df69e1b05d2ab1c4
10096-
pristine_git_object: 36a5174d753278b0eb8899396cb69c48675d240a
10095+
last_write_checksum: sha1:2a16a4502bcbee9ef1d45cc1f19175adb18e322f
10096+
pristine_git_object: 24ac149e97d2adfcb641dec2efad2c6435bd4564
1009710097
scripts/prepare_readme.py:
1009810098
id: e0c5957a6035
1009910099
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10120,8 +10120,8 @@ trackedFiles:
1012010120
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1012110121
src/openrouter/_version.py:
1012210122
id: d8d15ad6c586
10123-
last_write_checksum: sha1:fafc0abf6c27e3f328263d13d0aa2ae8b0d362d7
10124-
pristine_git_object: 04f59b4900eb9cbaa4d08571bb6682e8dfc9aa5a
10123+
last_write_checksum: sha1:9e1d8ca2afd40003e6910774558ff0dd37158b53
10124+
pristine_git_object: 98e806f8952505654ba3d620943826b6deac374f
1012510125
src/openrouter/alpha.py:
1012610126
id: 306c4d93308d
1012710127
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -14256,8 +14256,8 @@ trackedFiles:
1425614256
pristine_git_object: 26ecf767f8e1f98145acfa7d0fa14ffcf13955d6
1425714257
src/openrouter/private_endpoints.py:
1425814258
id: fdbce8846ed0
14259-
last_write_checksum: sha1:02f930fd4055a5383aa5cd58501d6894ed9597b2
14260-
pristine_git_object: 9f233355fdeae279bcbf361ddd08e3eac9903c43
14259+
last_write_checksum: sha1:786f808e29866de19964dbffac1e1dcbd7fd30ee
14260+
pristine_git_object: 518fc30683bf21b7a038a19948117b601e10cbb3
1426114261
src/openrouter/providers.py:
1426214262
id: debc4c48f149
1426314263
last_write_checksum: sha1:11dbc607825edee8dcc84b39ee8171e097c47acf
@@ -18781,4 +18781,3 @@ examples:
1878118781
"502":
1878218782
application/json: {"error": {"code": 502, "message": "Provider returned error"}}
1878318783
examplesVersion: 1.0.2
18784-
releaseNotes: "## Python SDK Changes:\n* `open_router.alpha.decisions.create()`: `request.provider` **Changed**\n* `open_router.tts.create_speech()`: \n * `request.provider.options.primalabs` **Added**\n* `open_router.stt.create_transcription()`: \n * `request.provider.options.primalabs` **Added**\n* `open_router.batch.create_batches()`: \n * `request.provider.only[].union(ProviderName).enum(prima_labs)` **Added**\n* `open_router.chat.send()`: `request.provider` **Changed**\n* `open_router.embeddings.generate()`: `request.provider` **Changed**\n* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].provider_name.enum(prima_labs)` **Added**\n* `open_router.endpoints.list()`: `response.data.endpoints[].provider_name.enum(prima_labs)` **Added**\n* `open_router.generations.get_generation()`: `response.data.provider_responses[].provider_name.enum(prima_labs)` **Added**\n* `open_router.images.generate()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_chat_completions()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_messages()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_responses()`: `request.provider` **Changed**\n* `open_router.rerank.rerank()`: `request.provider` **Changed**\n* `open_router.responses.send()`: `request.provider` **Changed**\n* `open_router.beta.responses.send()`: `request.provider` **Changed**\n* `open_router.system_one.create()`: `request.provider` **Changed**\n* `open_router.video_generation.generate()`: \n * `request.provider.options.primalabs` **Added**\n"

β€Ž.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.3.87
39+
version: 1.3.88
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20968,7 +20968,7 @@ components:
2096820968
type: 'string'
2096920969
roleArn:
2097020970
description: 'The IAM role in your account that OpenRouter assumes. Its trust policy must allow sts:AssumeRole from arn:aws:iam::536697249728:role/openrouter-broadcast-exporter and require the external ID below, and its permissions must allow s3:PutObject on the bucket and prefix (plus kms:GenerateDataKey for SSE-KMS buckets).'
20971-
pattern: '^arn:aws(?:-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@/-]{1,512}$'
20971+
pattern: '^arn:aws:iam::\d{12}:role\/[\w+=,.@/-]{1,512}$'
2097220972
type: 'string'
2097320973
visibleWhen:
2097420974
- field: 'provider'
@@ -46812,7 +46812,7 @@ paths:
4681246812
- 'Private Endpoints'
4681346813
x-speakeasy-name-override: 'list'
4681446814
post:
46815-
description: 'Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
46815+
description: 'Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
4681646816
operationId: 'createPrivateEndpoint'
4681746817
parameters:
4681846818
- description: 'Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.'

β€Ž.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:1f784abddbbb0341fbbb5b065acd5e035a20f36a82bb920d796b4d2031b55583
6-
sourceBlobDigest: sha256:7031dbb3be869a05e6f0f7d9935da948ec7f4af6937551c401e293862935578e
5+
sourceRevisionDigest: sha256:0615f2da470f27553db60491de37627efa065bfd3bd9c3ef0ebc60850ab989ef
6+
sourceBlobDigest: sha256:11efa435d8bebfa5d9170b01f068da7a7bcab0a7f520d4e3e8e95da3fd083585
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:1f784abddbbb0341fbbb5b065acd5e035a20f36a82bb920d796b4d2031b55583
15-
sourceBlobDigest: sha256:7031dbb3be869a05e6f0f7d9935da948ec7f4af6937551c401e293862935578e
14+
sourceRevisionDigest: sha256:0615f2da470f27553db60491de37627efa065bfd3bd9c3ef0ebc60850ab989ef
15+
sourceBlobDigest: sha256:11efa435d8bebfa5d9170b01f068da7a7bcab0a7f520d4e3e8e95da3fd083585
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:2af635ec902cb472d6a2741e5afe2892736a348c0820a6e33c2fd0da5d43cbf4
17+
codeSamplesRevisionDigest: sha256:eae14ce4b3923290ea9c3a995d5ad1eb32d34886478e6f2d3f2a858f5dc885a3
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
@@ -3639,4 +3639,14 @@ Based on:
36393639
### Generated
36403640
- [python v1.3.87] .
36413641
### Releases
3642-
- [PyPI v1.3.87] https://pypi.org/project/openrouter/1.3.87 - .
3642+
- [PyPI v1.3.87] https://pypi.org/project/openrouter/1.3.87 - .
3643+
3644+
## 2026-10-28 00:19:45
3645+
### Changes
3646+
Based on:
3647+
- OpenAPI Doc
3648+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3649+
### Generated
3650+
- [python v1.3.88] .
3651+
### Releases
3652+
- [PyPI v1.3.88] https://pypi.org/project/openrouter/1.3.88 - .

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

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

7272
## create
7373

74-
Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
74+
Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
7575

7676
### Example Usage
7777

β€Ž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.87"
3+
version = "1.3.88"
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.87"
6+
__version__: str = "1.3.88"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.87 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.88 2.914.0 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
@@ -314,7 +314,7 @@ def create(
314314
) -> components.ManagedPrivateEndpointResponse:
315315
r"""Create a private endpoint
316316
317-
Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
317+
Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
318318
319319
:param model_permaslug: Permanent slug of the model this endpoint serves.
320320
:param provider_slug: Slug of the upstream provider.
@@ -528,7 +528,7 @@ async def create_async(
528528
) -> components.ManagedPrivateEndpointResponse:
529529
r"""Create a private endpoint
530530
531-
Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
531+
Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.
532532
533533
:param model_permaslug: Permanent slug of the model this endpoint serves.
534534
:param provider_slug: Slug of the upstream provider.

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