Skip to content

Commit ec805f4

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

10 files changed

Lines changed: 154 additions & 73 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 21 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: 96852a8e676c17daffcd8a465ec163bf
4+
docChecksum: 219138d21d3208e1bd68f92347d55010
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.2.12
9-
configChecksum: d16185d65c9bdfcdfb73869b3b6a621f
8+
releaseVersion: 1.2.13
9+
configChecksum: c0af818f98f85ef347b558275e16b064
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: d885c5e1-35f6-47af-b676-213af835c000
15-
pristine_commit_hash: f4a328dddf5613836eba5c89d018635e0cb26805
16-
pristine_tree_hash: 8c106e26e23bd5d9f341ae4137b4f85bab642b6b
14+
generation_id: a41f374d-9e61-41cc-a7da-adbbbbc8e345
15+
pristine_commit_hash: 240b1991f0af1ac81205aea316704e5dfde5caa5
16+
pristine_tree_hash: fe700f6e6e0763ec2ae1763a5be7f4cd00195369
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -8127,8 +8127,8 @@ trackedFiles:
81278127
pristine_git_object: 08c687694efbecf50406ae7929029d39fb121295
81288128
docs/sdks/interns/README.mdx:
81298129
id: 2f8a053ffe78
8130-
last_write_checksum: sha1:5bb4be91b9cb5513e1a80bb4dd289fb58b2ceb55
8131-
pristine_git_object: c45371fd13d43dd0c4883df28d3e8653fd3298a3
8130+
last_write_checksum: sha1:cbebf5bbae2c15f93be5c5407b0f8927167abd90
8131+
pristine_git_object: 995fcb35decbd89a885a25568270d4e6044dea13
81328132
docs/sdks/models/README.mdx:
81338133
id: 58f1ca464e0b
81348134
last_write_checksum: sha1:093dd30ebdd18b9763a6956915e0dcae4ae7d5e5
@@ -8195,8 +8195,8 @@ trackedFiles:
81958195
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
81968196
pyproject.toml:
81978197
id: 5d07e7d72637
8198-
last_write_checksum: sha1:0f27a908caef2f59a9b4f38c0d813cbca2196002
8199-
pristine_git_object: 94c5228ca40a2560aac632886116adaccc0d5028
8198+
last_write_checksum: sha1:6ac7f07a3d16945f5b9ef3a72c4cd4df1e166179
8199+
pristine_git_object: 8e6a8e74a275b0b884ac9aef8df139ac9b71af2d
82008200
scripts/prepare_readme.py:
82018201
id: e0c5957a6035
82028202
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -8223,8 +8223,8 @@ trackedFiles:
82238223
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
82248224
src/openrouter/_version.py:
82258225
id: d8d15ad6c586
8226-
last_write_checksum: sha1:473aead99878d6d7b03c8ebf23946926083e816d
8227-
pristine_git_object: 4ceb9dbd91bbcbf683170e3f2d82c979970a1cf0
8226+
last_write_checksum: sha1:ce7a24a8717c5a14d95cad02a9f3733362b8669b
8227+
pristine_git_object: 07e55bb007b89c56b5c167f1fd3b5060517aa8dc
82288228
src/openrouter/alpha.py:
82298229
id: 306c4d93308d
82308230
last_write_checksum: sha1:0c25a52ed5fb688ec1e923e4e82bcfc9cae49465
@@ -11175,8 +11175,8 @@ trackedFiles:
1117511175
pristine_git_object: 50643a126668498dd668c7cceb9f78c03d413d32
1117611176
src/openrouter/interns.py:
1117711177
id: d18df05c5c6d
11178-
last_write_checksum: sha1:ee8a7854d254cdaf039db80a5e9daa06c3f846dc
11179-
pristine_git_object: 817b8db61748eb72909ecd1441c689002491b4d6
11178+
last_write_checksum: sha1:cdc6b94fced75725f6e09279f4562acdc180b7fb
11179+
pristine_git_object: 7171db09163adcbdb2588f98aec36b2806e58263
1118011180
src/openrouter/models/__init__.py:
1118111181
id: ed73b93abb3f
1118211182
last_write_checksum: sha1:932a790ae66ccd7d7022b39c659bcf72a664ebea
@@ -15044,4 +15044,10 @@ examples:
1504415044
"529":
1504515045
application/json: {"error": {"code": 529, "message": "Provider returned error"}}
1504615046
examplesVersion: 1.0.2
15047-
releaseNotes: "## Python SDK Changes:\n* `open_router.interns.chat()`: `response.status[202]` **Added** (Breaking ⚠️)\n* `open_router.byok.list()`: `response.data[].declared_zdr` **Added**\n* `open_router.byok.create()`: \n * `request.declared_zdr` **Added**\n * `response.data.declared_zdr` **Added**\n* `open_router.byok.get()`: `response.data.declared_zdr` **Added**\n* `open_router.byok.update()`: \n * `request.declared_zdr` **Added**\n * `response.data.declared_zdr` **Added**\n"
15047+
releaseNotes: |
15048+
## Python SDK Changes:
15049+
* `open_router.interns.create_intern()`: `error.status[415]` **Added**
15050+
* `open_router.interns.delete_intern()`: `error.status[415]` **Added**
15051+
* `open_router.interns.update_intern()`: `error.status[415]` **Added**
15052+
* `open_router.interns.provision_intern()`: `error.status[415]` **Added**
15053+
* `open_router.interns.suspend_intern()`: `error.status[415]` **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.2.12
39+
version: 1.2.13
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36636,7 +36636,7 @@ paths:
3663636636
tags:
3663736637
- 'Interns'
3663836638
post:
36639-
description: 'Creates an intern in an explicit workspace. The operation also creates its private vault. It can start provisioning immediately or wait for a later provision call. A retry with the same idempotency key and body resumes unfinished work. The request body is capped at 1048576 bytes and a larger body is refused with 413. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
36639+
description: 'Creates an intern in an explicit workspace. The operation also creates its private vault. It can start provisioning immediately or wait for a later provision call. A retry with the same idempotency key and body resumes unfinished work. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare `Content-Type: application/json` or it is refused with 415. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
3664036640
operationId: 'createIntern'
3664136641
parameters:
3664236642
- description: 'Key that makes retries resume the same create operation, from 1 through 255 characters. An empty or longer key is refused with 400. Without the header, the server derives a stable key from the request body.'
@@ -36800,6 +36800,19 @@ paths:
3680036800
schema:
3680136801
$ref: '#/components/schemas/InternLifecycleError'
3680236802
description: 'The request body is larger than 1048576 bytes.'
36803+
'415':
36804+
content:
36805+
application/json:
36806+
example:
36807+
error:
36808+
code: 415
36809+
message: 'Request body must be sent as application/json'
36810+
metadata:
36811+
reason: 'unsupported_media_type'
36812+
retryable: false
36813+
schema:
36814+
$ref: '#/components/schemas/InternLifecycleError'
36815+
description: 'The request body is non-empty and its Content-Type is not application/json.'
3680336816
'500':
3680436817
content:
3680536818
application/json:
@@ -36837,7 +36850,7 @@ paths:
3683736850
- $ref: "#/components/parameters/AppCategories"
3683836851
/interns/{internId}:
3683936852
delete:
36840-
description: 'Starts safe teardown of the intern, its runtime and its private vault. The body is optional. Send `{"acknowledge_workspace_loss": true}` to delete a `destroy_failed` intern whose `last_failure_message` names `workspace_archive_failed`, accepting that its workspace is not backed up. The request body is capped at 1048576 bytes and a larger body is refused with 413. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
36853+
description: 'Starts safe teardown of the intern, its runtime and its private vault. The body is optional. Send `{"acknowledge_workspace_loss": true}` to delete a `destroy_failed` intern whose `last_failure_message` names `workspace_archive_failed`, accepting that its workspace is not backed up. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare `Content-Type: application/json` or it is refused with 415. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
3684136854
operationId: 'deleteIntern'
3684236855
parameters:
3684336856
- description: 'ID of an intern visible to the authenticated API key.'
@@ -36951,6 +36964,19 @@ paths:
3695136964
schema:
3695236965
$ref: '#/components/schemas/InternLifecycleError'
3695336966
description: 'The request body is larger than 1048576 bytes.'
36967+
'415':
36968+
content:
36969+
application/json:
36970+
example:
36971+
error:
36972+
code: 415
36973+
message: 'Request body must be sent as application/json'
36974+
metadata:
36975+
reason: 'unsupported_media_type'
36976+
retryable: false
36977+
schema:
36978+
$ref: '#/components/schemas/InternLifecycleError'
36979+
description: 'The request body is non-empty and its Content-Type is not application/json.'
3695436980
'500':
3695536981
content:
3695636982
application/json:
@@ -37082,7 +37108,7 @@ paths:
3708237108
tags:
3708337109
- 'Interns'
3708437110
patch:
37085-
description: 'Changes the intern name, description, instructions or model. Omitted fields stay unchanged. The request body is capped at 1048576 bytes and a larger body is refused with 413. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
37111+
description: 'Changes the intern name, description, instructions or model. Omitted fields stay unchanged. The request body is capped at 1048576 bytes and a larger body is refused with 413. A non-empty body must declare `Content-Type: application/json` or it is refused with 415. The API key selects the caller, workspace and visible interns. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
3708637112
operationId: 'updateIntern'
3708737113
parameters:
3708837114
- description: 'ID of an intern visible to the authenticated API key.'
@@ -37210,6 +37236,19 @@ paths:
3721037236
schema:
3721137237
$ref: '#/components/schemas/InternLifecycleError'
3721237238
description: 'The request body is larger than 1048576 bytes.'
37239+
'415':
37240+
content:
37241+
application/json:
37242+
example:
37243+
error:
37244+
code: 415
37245+
message: 'Request body must be sent as application/json'
37246+
metadata:
37247+
reason: 'unsupported_media_type'
37248+
retryable: false
37249+
schema:
37250+
$ref: '#/components/schemas/InternLifecycleError'
37251+
description: 'The request body is non-empty and its Content-Type is not application/json.'
3721337252
'500':
3721437253
content:
3721537254
application/json:
@@ -37584,6 +37623,19 @@ paths:
3758437623
schema:
3758537624
$ref: '#/components/schemas/InternLifecycleError'
3758637625
description: 'The request body is larger than 1048576 bytes.'
37626+
'415':
37627+
content:
37628+
application/json:
37629+
example:
37630+
error:
37631+
code: 415
37632+
message: 'Request body must be sent as application/json'
37633+
metadata:
37634+
reason: 'unsupported_media_type'
37635+
retryable: false
37636+
schema:
37637+
$ref: '#/components/schemas/InternLifecycleError'
37638+
description: 'The request body is non-empty and its Content-Type is not application/json.'
3758737639
'500':
3758837640
content:
3758937641
application/json:
@@ -37727,6 +37779,19 @@ paths:
3772737779
schema:
3772837780
$ref: '#/components/schemas/InternLifecycleError'
3772937781
description: 'The request body is larger than 1048576 bytes.'
37782+
'415':
37783+
content:
37784+
application/json:
37785+
example:
37786+
error:
37787+
code: 415
37788+
message: 'Request body must be sent as application/json'
37789+
metadata:
37790+
reason: 'unsupported_media_type'
37791+
retryable: false
37792+
schema:
37793+
$ref: '#/components/schemas/InternLifecycleError'
37794+
description: 'The request body is non-empty and its Content-Type is not application/json.'
3773037795
'500':
3773137796
content:
3773237797
application/json:

‎.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:c35dc5499ca6883e191f921c4a50e5c45ae09daccd130f34af46cb7ee18a44f4
6-
sourceBlobDigest: sha256:fc62c51c841c1730b744b0177d7b714def70ebcc12b313f96fc925f4d4ad84d7
5+
sourceRevisionDigest: sha256:6f0702ac907d8bd54b9d73be193c3a8789ed15d688449d59fd15f811a5992937
6+
sourceBlobDigest: sha256:b1b342b61edc0a5ba2bbe4feba950ae641885bbbc37833fdd91cc09ddb10d920
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:c35dc5499ca6883e191f921c4a50e5c45ae09daccd130f34af46cb7ee18a44f4
15-
sourceBlobDigest: sha256:fc62c51c841c1730b744b0177d7b714def70ebcc12b313f96fc925f4d4ad84d7
14+
sourceRevisionDigest: sha256:6f0702ac907d8bd54b9d73be193c3a8789ed15d688449d59fd15f811a5992937
15+
sourceBlobDigest: sha256:b1b342b61edc0a5ba2bbe4feba950ae641885bbbc37833fdd91cc09ddb10d920
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:1b8e0a86712a06b4708ccd9196d1f6d5dcc25249fd34c99323bd89586af4aa97
17+
codeSamplesRevisionDigest: sha256:1b9e1c30a83b4aa8634943fb0fe750f04de35369c447bafc075f2e77b4fa761d
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
@@ -2529,4 +2529,14 @@ Based on:
25292529
### Generated
25302530
- [python v1.2.12] .
25312531
### Releases
2532-
- [PyPI v1.2.12] https://pypi.org/project/openrouter/1.2.12 - .
2532+
- [PyPI v1.2.12] https://pypi.org/project/openrouter/1.2.12 - .
2533+
2534+
## 2026-09-21 22:33:29
2535+
### Changes
2536+
Based on:
2537+
- OpenAPI Doc
2538+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
2539+
### Generated
2540+
- [python v1.2.13] .
2541+
### Releases
2542+
- [PyPI v1.2.13] https://pypi.org/project/openrouter/1.2.13 - .

0 commit comments

Comments
 (0)