Skip to content

Commit 4e3b3f1

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.77 (#1132)
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 fa27a7c commit 4e3b3f1

12 files changed

Lines changed: 117 additions & 77 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 21 additions & 32 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: 40e2bc23f7c4aa3f3ce0d470a469148e
4+
docChecksum: 9e161a46647f3a4d07b24c8d00578c22
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.76
9-
configChecksum: ce947364c5392aadce4db6c772e33a89
8+
releaseVersion: 1.3.77
9+
configChecksum: 9b873bdd9890526d751c7121a80a9ac2
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: 689c33fb-8a90-47f7-b2d1-032588a65df7
15-
pristine_commit_hash: cd29ae9fa1a0b5bab48df3c2939cf6121cf9b0ef
16-
pristine_tree_hash: 7bf7b0845609b4efb3525fed8446b305fbd5fe44
14+
generation_id: b3c0f80b-3f8f-4427-9801-fa8155208c56
15+
pristine_commit_hash: 8601a2c8f2fee7271a9d1d79e423f33eff695f07
16+
pristine_tree_hash: a23281b0eb793aa1deca0f2680611a1ac1b1a8fa
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -6336,8 +6336,8 @@ trackedFiles:
63366336
pristine_git_object: d82f235f03d49c49a8051659a00a64753630d9b8
63376337
docs/components/privateendpointpricing.mdx:
63386338
id: 16264ba816a0
6339-
last_write_checksum: sha1:18134f67a96280dbf944223036f9f473221eb342
6340-
pristine_git_object: 3004d03302ab6b06f44c41c8fad4eead79aac399
6339+
last_write_checksum: sha1:e1fc22fca61fcbf36c2b3d48908af0b1de0f8370
6340+
pristine_git_object: 98c2b6bacd5e87a81285558abed783d7c5e24bc3
63416341
docs/components/privateendpointresponse.mdx:
63426342
id: 5844d85b61d8
63436343
last_write_checksum: sha1:e303f61ad992a12c3f9e1008beba2b3b277c9157
@@ -10316,8 +10316,8 @@ trackedFiles:
1031610316
pristine_git_object: 6a18aef850a89e56f8f7b0c507c24ab1eed0022c
1031710317
docs/sdks/generations/README.mdx:
1031810318
id: a754fecc8514
10319-
last_write_checksum: sha1:46ab209542cabc2de53c1ec07eebfdaf2601f48a
10320-
pristine_git_object: bc1a56cbb41c8f9114c81b547713632272184da6
10319+
last_write_checksum: sha1:0a7baa6b26938066352a5d4d668d19e17776643a
10320+
pristine_git_object: b22a992e0447d12837d88f04133ef911aafcfaaf
1032110321
docs/sdks/guardrails/README.mdx:
1032210322
id: a0cd4218b8fa
1032310323
last_write_checksum: sha1:8a7bd8b43337d429726ac461e248aca8100b54cf
@@ -10404,8 +10404,8 @@ trackedFiles:
1040410404
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1040510405
pyproject.toml:
1040610406
id: 5d07e7d72637
10407-
last_write_checksum: sha1:0d11d5c53be5d0b7fb677bb0faa39d950cb895ec
10408-
pristine_git_object: 7f8ab233be116ad0ee4aab4d2eed41a443e48652
10407+
last_write_checksum: sha1:297a6ffb1c170ddc23d42034497ee1d080fc8a86
10408+
pristine_git_object: e31d0b8dd00bae68efea9cdf6ac571e31f090002
1040910409
scripts/prepare_readme.py:
1041010410
id: e0c5957a6035
1041110411
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10432,8 +10432,8 @@ trackedFiles:
1043210432
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1043310433
src/openrouter/_version.py:
1043410434
id: d8d15ad6c586
10435-
last_write_checksum: sha1:16375f7c967b1e7c112bc04e9fb6dec662429676
10436-
pristine_git_object: 8ceb70f1181bb17a3da10f81b19354345e48b5fa
10435+
last_write_checksum: sha1:bcfc37be6676e3aa3f367bda551234104c64c73a
10436+
pristine_git_object: 36d3d822fe628a30968823f18d3facd145954487
1043710437
src/openrouter/alpha.py:
1043810438
id: 306c4d93308d
1043910439
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -13084,8 +13084,8 @@ trackedFiles:
1308413084
pristine_git_object: 6a8d44a0b8ed4313318a9ebc0220de6b098cd01a
1308513085
src/openrouter/components/privateendpointpricing.py:
1308613086
id: 2d8979e18f5b
13087-
last_write_checksum: sha1:7e95e077f70d016fdaa0256ac622d19e91e0d7cb
13088-
pristine_git_object: 861d9bf7b206b4da322b7facdcafd43e7805a1ec
13087+
last_write_checksum: sha1:9573cef75311eee6c467e4a051308dbfd9a22ec4
13088+
pristine_git_object: 8ab720b740586c7709f13f4bdba16214327a73b0
1308913089
src/openrouter/components/privateendpointresponse.py:
1309013090
id: 38a49c864b72
1309113091
last_write_checksum: sha1:e9cbd209c0e4128c69645f4b4fb59508b40bb6eb
@@ -14108,8 +14108,8 @@ trackedFiles:
1410814108
pristine_git_object: 5702b46b8a0ac74ee34216b31154b0c3928a2e7f
1410914109
src/openrouter/generations.py:
1411014110
id: 70e1c21042bc
14111-
last_write_checksum: sha1:b4ae45620a9ad38402e72ed42abea516aeb3aa32
14112-
pristine_git_object: 5698c384a36929846530cae98f69ce83a0966217
14111+
last_write_checksum: sha1:26521fe0a5a034c9a3c4ce763410daf99e839860
14112+
pristine_git_object: b899aac81fa41d1a3e6b3fee13a2cab2176e65cb
1411314113
src/openrouter/guardrails.py:
1411414114
id: 705839f34e66
1411514115
last_write_checksum: sha1:156c955e4e751a229100a3261e297d2898b5d089
@@ -16662,6 +16662,8 @@ examples:
1666216662
application/json: {"error": {"code": 429, "message": "Rate limit exceeded"}}
1666316663
"500":
1666416664
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
16665+
"409":
16666+
application/json: {"error": {"code": 409, "message": "Resource conflict. Please try again later."}}
1666516667
listScimGroupMappings:
1666616668
speakeasy-default-list-scim-group-mappings:
1666716669
parameters:
@@ -19239,17 +19241,4 @@ examples:
1923919241
examplesVersion: 1.0.2
1924019242
releaseNotes: |
1924119243
## Python SDK Changes:
19242-
* `open_router.byok.list()`: `error.status[403]` **Added**
19243-
* `open_router.byok.delete()`: `error.status[403]` **Added**
19244-
* `open_router.byok.get()`: `error.status[403]` **Added**
19245-
* `open_router.observability.list()`: `error.status[403]` **Added**
19246-
* `open_router.observability.delete()`: `error.status[403]` **Added**
19247-
* `open_router.observability.get()`: `error.status[403]` **Added**
19248-
* `open_router.scim.list_mappings()`: `error.status[403]` **Added**
19249-
* `open_router.scim.create()`: `error.status[403]` **Added**
19250-
* `open_router.scim.delete()`: `error.status[403]` **Added**
19251-
* `open_router.scim.read()`: `error.status[403]` **Added**
19252-
* `open_router.scim.update()`: `error.status[403]` **Added**
19253-
* `open_router.scim.list_groups()`: `error.status[403]` **Added**
19254-
* `open_router.scim.create_sync_job()`: `error.status[403]` **Added**
19255-
* `open_router.scim.get_sync_job()`: `error.status[403]` **Added**
19244+
* `open_router.generations.submit_feedback()`: `error.status[409]` **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.3.76
39+
version: 1.3.77
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 54 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26521,12 +26521,12 @@ components:
2652126521
prompt: '0.0000025'
2652226522
properties:
2652326523
cache_read:
26524-
description: 'USD per cache-read prompt token, as a decimal string. Omit it to bill cache reads at the provider pricing strategy''s default, which for most strategies is the prompt rate.'
26524+
description: 'USD per cache-read prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-read to prompt ratio, or left at the pricing strategy default when it publishes no cache-read rate. Required when there is no such endpoint and the provider bills cache reads.'
2652526525
example: '0.00000025'
2652626526
pattern: '^\d+(\.\d+)?$'
2652726527
type: 'string'
2652826528
cache_write:
26529-
description: 'USD per cache-write prompt token, as a decimal string. Omit it to bill cache writes at the provider pricing strategy''s default.'
26529+
description: 'USD per cache-write prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-write to prompt ratio, or left at the pricing strategy default when it publishes no cache-write rate. Required when there is no such endpoint and the provider bills cache writes.'
2653026530
example: '0.000003125'
2653126531
pattern: '^\d+(\.\d+)?$'
2653226532
type: 'string'
@@ -41097,6 +41097,16 @@ paths:
4109741097
schema:
4109841098
$ref: '#/components/schemas/NotFoundResponse'
4109941099
description: 'Not Found - Resource does not exist'
41100+
'409':
41101+
content:
41102+
application/json:
41103+
example:
41104+
error:
41105+
code: 409
41106+
message: 'Feedback was already submitted for this generation'
41107+
schema:
41108+
$ref: '#/components/schemas/ConflictResponse'
41109+
description: 'Conflict - Feedback was already submitted for this generation by this account. The first submission is kept.'
4110041110
'429':
4110141111
content:
4110241112
application/json:
@@ -42840,7 +42850,7 @@ paths:
4284042850
retryable: false
4284142851
schema:
4284242852
$ref: '#/components/schemas/InternLifecycleError'
42843-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
42853+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4284442854
'408':
4284542855
content:
4284642856
application/json:
@@ -42972,6 +42982,14 @@ paths:
4297242982
content:
4297342983
application/json:
4297442984
examples:
42985+
lifecycle_writes_disabled:
42986+
value:
42987+
error:
42988+
code: 403
42989+
message: 'Intern lifecycle writes are not enabled for this account'
42990+
metadata:
42991+
reason: 'lifecycle_writes_disabled'
42992+
retryable: false
4297542993
no_acting_user:
4297642994
value:
4297742995
error:
@@ -42990,7 +43008,7 @@ paths:
4299043008
retryable: false
4299143009
schema:
4299243010
$ref: '#/components/schemas/InternLifecycleError'
42993-
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused.'
43011+
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, lifecycle writes are not enabled for the caller, or regional access is refused.'
4299443012
'404':
4299543013
content:
4299643014
application/json:
@@ -43003,7 +43021,7 @@ paths:
4300343021
retryable: false
4300443022
schema:
4300543023
$ref: '#/components/schemas/InternLifecycleError'
43006-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43024+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4300743025
'408':
4300843026
content:
4300943027
application/json:
@@ -43161,10 +43179,13 @@ paths:
4316143179
example:
4316243180
error:
4316343181
code: 403
43164-
message: 'Forbidden'
43182+
message: 'Intern lifecycle writes are not enabled for this account'
43183+
metadata:
43184+
reason: 'lifecycle_writes_disabled'
43185+
retryable: false
4316543186
schema:
4316643187
$ref: '#/components/schemas/InternLifecycleError'
43167-
description: 'The key owner no longer has access, or the request used a regional hostname.'
43188+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4316843189
'404':
4316943190
content:
4317043191
application/json:
@@ -43177,7 +43198,7 @@ paths:
4317743198
retryable: false
4317843199
schema:
4317943200
$ref: '#/components/schemas/InternLifecycleError'
43180-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43201+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4318143202
'408':
4318243203
content:
4318343204
application/json:
@@ -43331,7 +43352,7 @@ paths:
4333143352
retryable: false
4333243353
schema:
4333343354
$ref: '#/components/schemas/InternLifecycleError'
43334-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43355+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4333543356
'408':
4333643357
content:
4333743358
application/json:
@@ -43439,10 +43460,13 @@ paths:
4343943460
example:
4344043461
error:
4344143462
code: 403
43442-
message: 'Forbidden'
43463+
message: 'Intern lifecycle writes are not enabled for this account'
43464+
metadata:
43465+
reason: 'lifecycle_writes_disabled'
43466+
retryable: false
4344343467
schema:
4344443468
$ref: '#/components/schemas/InternLifecycleError'
43445-
description: 'The key owner no longer has access, or the request used a regional hostname.'
43469+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4344643470
'404':
4344743471
content:
4344843472
application/json:
@@ -43455,7 +43479,7 @@ paths:
4345543479
retryable: false
4345643480
schema:
4345743481
$ref: '#/components/schemas/InternLifecycleError'
43458-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43482+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4345943483
'408':
4346043484
content:
4346143485
application/json:
@@ -43846,7 +43870,7 @@ paths:
4384643870
retryable: false
4384743871
schema:
4384843872
$ref: '#/components/schemas/InternLifecycleError'
43849-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43873+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4385043874
'408':
4385143875
content:
4385243876
application/json:
@@ -43935,7 +43959,7 @@ paths:
4393543959
retryable: false
4393643960
schema:
4393743961
$ref: '#/components/schemas/InternLifecycleError'
43938-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
43962+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4393943963
'408':
4394043964
content:
4394143965
application/json:
@@ -44038,7 +44062,7 @@ paths:
4403844062
retryable: false
4403944063
schema:
4404044064
$ref: '#/components/schemas/InternLifecycleError'
44041-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44065+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4404244066
'408':
4404344067
content:
4404444068
application/json:
@@ -44163,7 +44187,7 @@ paths:
4416344187
retryable: false
4416444188
schema:
4416544189
$ref: '#/components/schemas/InternLifecycleError'
44166-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44190+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4416744191
'408':
4416844192
content:
4416944193
application/json:
@@ -44321,7 +44345,7 @@ paths:
4432144345
retryable: false
4432244346
schema:
4432344347
$ref: '#/components/schemas/InternLifecycleError'
44324-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44348+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4432544349
'408':
4432644350
content:
4432744351
application/json:
@@ -44465,7 +44489,7 @@ paths:
4446544489
retryable: false
4446644490
schema:
4446744491
$ref: '#/components/schemas/InternLifecycleError'
44468-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44492+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4446944493
'408':
4447044494
content:
4447144495
application/json:
@@ -44764,10 +44788,13 @@ paths:
4476444788
example:
4476544789
error:
4476644790
code: 403
44767-
message: 'Forbidden'
44791+
message: 'Intern lifecycle writes are not enabled for this account'
44792+
metadata:
44793+
reason: 'lifecycle_writes_disabled'
44794+
retryable: false
4476844795
schema:
4476944796
$ref: '#/components/schemas/InternLifecycleError'
44770-
description: 'The key owner no longer has access, or the request used a regional hostname.'
44797+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4477144798
'404':
4477244799
content:
4477344800
application/json:
@@ -44780,7 +44807,7 @@ paths:
4478044807
retryable: false
4478144808
schema:
4478244809
$ref: '#/components/schemas/InternLifecycleError'
44783-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44810+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4478444811
'408':
4478544812
content:
4478644813
application/json:
@@ -44920,10 +44947,13 @@ paths:
4492044947
example:
4492144948
error:
4492244949
code: 403
44923-
message: 'Forbidden'
44950+
message: 'Intern lifecycle writes are not enabled for this account'
44951+
metadata:
44952+
reason: 'lifecycle_writes_disabled'
44953+
retryable: false
4492444954
schema:
4492544955
$ref: '#/components/schemas/InternLifecycleError'
44926-
description: 'The key owner no longer has access, or the request used a regional hostname.'
44956+
description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).'
4492744957
'404':
4492844958
content:
4492944959
application/json:
@@ -44936,7 +44966,7 @@ paths:
4493644966
retryable: false
4493744967
schema:
4493844968
$ref: '#/components/schemas/InternLifecycleError'
44939-
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44969+
description: 'The caller is outside the Intern API programme, or the intern is hidden.'
4494044970
'408':
4494144971
content:
4494244972
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:a0d6d1179366adb7bad868511f5d67a9dd3b6b693eefbe1d8f6f355f1f439f84
6-
sourceBlobDigest: sha256:f250fc1f30aa4bf26f599271b4c6e83dfc9e074466db14491d5fc05ceabffe40
5+
sourceRevisionDigest: sha256:c3feeeecedf52684a6b76e204aefc63ce907533a5e69dba1ab8736b5ce220c56
6+
sourceBlobDigest: sha256:dbef6078446089006f0fccd11f8c57a140a0fafd95566e685f60eb7d2fd9b13b
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:a0d6d1179366adb7bad868511f5d67a9dd3b6b693eefbe1d8f6f355f1f439f84
15-
sourceBlobDigest: sha256:f250fc1f30aa4bf26f599271b4c6e83dfc9e074466db14491d5fc05ceabffe40
14+
sourceRevisionDigest: sha256:c3feeeecedf52684a6b76e204aefc63ce907533a5e69dba1ab8736b5ce220c56
15+
sourceBlobDigest: sha256:dbef6078446089006f0fccd11f8c57a140a0fafd95566e685f60eb7d2fd9b13b
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:1d15e58880618bd0c1b6c6ed964f7d6539a810f8092764700a1fc0ff1382327d
17+
codeSamplesRevisionDigest: sha256:e6e7f318dcfc319f84d58fc1b4cab485802b13541cf0defa901efe78479da5f7
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

0 commit comments

Comments
 (0)