Skip to content

Commit bf5d111

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

12 files changed

Lines changed: 103 additions & 49 deletions

File tree

.speakeasy/gen.lock

Lines changed: 22 additions & 19 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: 567e91601425bf6d1e14d521ccd965b5
4+
docChecksum: 7c73fc82e3b559187d95080944e17ae3
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.0.15
9-
configChecksum: afb0b977249acfd2c024c26a420a6f93
8+
releaseVersion: 1.0.16
9+
configChecksum: 14100939de9468cafe0363e64ecd242b
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: dcdf230d-bf02-48a0-b82a-629afd178bfb
15-
pristine_commit_hash: 7b5887ebadc773266691917187f89f17b8bfadbc
16-
pristine_tree_hash: 3fe6aadc616a5e45cee2804552ad7377741114da
14+
generation_id: 91a83737-413d-4ebf-8b81-cba612bb82a7
15+
pristine_commit_hash: df168c0627b3ec7713e6d637072981c708cf254d
16+
pristine_tree_hash: 9ab72283bdc3555622e6aab6dd4e6c85409b26f5
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -4606,8 +4606,8 @@ trackedFiles:
46064606
pristine_git_object: 5868e50f86df62aae9952c94f98ebb33570efff1
46074607
docs/components/sttsegment.mdx:
46084608
id: 7264ea9cdd57
4609-
last_write_checksum: sha1:8a4996d6a483fdeee0899f6656ed6e5d69a4e159
4610-
pristine_git_object: d0bcd9afe39262dd4297adb6fc618e984e1c209f
4609+
last_write_checksum: sha1:a72a8567ac80b37f20db0e483de5b1c96d45e5fe
4610+
pristine_git_object: 78744c25e6714a49518190e39107c59720c9b58d
46114611
docs/components/stttimestampgranularity.mdx:
46124612
id: 2a365c57c3a1
46134613
last_write_checksum: sha1:5932b36c214d97201f0cce0d0787203fed2baf4e
@@ -4618,8 +4618,8 @@ trackedFiles:
46184618
pristine_git_object: f0b56839c067ce29024888f689d379ed83f86ff4
46194619
docs/components/sttword.mdx:
46204620
id: 665227ec6052
4621-
last_write_checksum: sha1:e39fb80f3b8d02747142ab15631e4788810c366f
4622-
pristine_git_object: 994522a52060add3b501680d2be27546ded1dfe2
4621+
last_write_checksum: sha1:ca6d433725166bfcfd3399f17f1f02776e82ade7
4622+
pristine_git_object: 906d1fe7948b251c227043b24dedb7d4c56bcea1
46234623
docs/components/subagentnestedtool.mdx:
46244624
id: 12547a9efd5f
46254625
last_write_checksum: sha1:60f49c10d3b5c552a65ef4462d24e02a615cbaa8
@@ -6718,8 +6718,8 @@ trackedFiles:
67186718
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
67196719
pyproject.toml:
67206720
id: 5d07e7d72637
6721-
last_write_checksum: sha1:f683ea987b2d91726e7dde5663d1a59e49aa5765
6722-
pristine_git_object: 26393b0b28956ec3fd9535d9115d8a1c940a7434
6721+
last_write_checksum: sha1:22aa3e9cbb8047f3069f7193823715d4c9456d31
6722+
pristine_git_object: 96c3e76a32c2ed6dfd680269fb45c9f3fd10e91b
67236723
scripts/prepare_readme.py:
67246724
id: e0c5957a6035
67256725
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6746,8 +6746,8 @@ trackedFiles:
67466746
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
67476747
src/openrouter/_version.py:
67486748
id: d8d15ad6c586
6749-
last_write_checksum: sha1:4bc902fcebdfc77a7b6b4c7ba65434142175f623
6750-
pristine_git_object: 902c273cbf33c63ad2e2fa73baf5d77b725da304
6749+
last_write_checksum: sha1:719b380996f3571f1f23b33d6890ba6539b5e38f
6750+
pristine_git_object: f4ca20a204674f77a58f7c3c092a53f619d10242
67516751
src/openrouter/analytics.py:
67526752
id: cb406b5aaabb
67536753
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
@@ -8770,8 +8770,8 @@ trackedFiles:
87708770
pristine_git_object: 61daeb24ef51df79db5fa62329f8d15d81d729d9
87718771
src/openrouter/components/sttsegment.py:
87728772
id: f3439539736c
8773-
last_write_checksum: sha1:be08482dc37814ed812250622b4ecb346b31787a
8774-
pristine_git_object: 471a0806203bea27421e0681e4b48cda9ce23220
8773+
last_write_checksum: sha1:9b19b8c0becf911a2939c28314d999b4e3efcf14
8774+
pristine_git_object: 024e8a332cd8604dcc81c035121140716104e26e
87758775
src/openrouter/components/stttimestampgranularity.py:
87768776
id: d6f8b068026d
87778777
last_write_checksum: sha1:9d1aff48024b9ab1446a05784f9aeb33aebdcee4
@@ -8782,8 +8782,8 @@ trackedFiles:
87828782
pristine_git_object: 1feb5db4da1422d55744c5a4bb10eabda6c50c4f
87838783
src/openrouter/components/sttword.py:
87848784
id: b46ff7c5fa20
8785-
last_write_checksum: sha1:69fc17c2b943ace9486b782f7250579ba8d454b0
8786-
pristine_git_object: 020dd01249eb982b0e94f0c19748badf5287a31a
8785+
last_write_checksum: sha1:110e24e80ce5cf5ce2fa9272904fc4c32f538110
8786+
pristine_git_object: 4d300cd3172215697a9ec551a889135628cee676
87878787
src/openrouter/components/subagentnestedtool.py:
87888788
id: 911a465973a0
87898789
last_write_checksum: sha1:6aff7a7050393855944bbf85d437800336d12215
@@ -11241,4 +11241,7 @@ examples:
1124111241
"500":
1124211242
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1124311243
examplesVersion: 1.0.2
11244-
releaseNotes: "## Python SDK Changes:\n* `open_router.tts.create_speech()`: \n * `request.provider.options` **Changed**\n* `open_router.stt.create_transcription()`: \n * `request.provider.options` **Changed**\n* `open_router.byok.list()`: \n * `request.provider` **Changed**\n * `response.data[].provider` **Changed**\n* `open_router.byok.create()`: \n * `request.provider` **Changed**\n * `response.data.provider` **Changed**\n* `open_router.byok.get()`: `response.data.provider` **Changed**\n* `open_router.byok.update()`: `response.data.provider` **Changed**\n* `open_router.images.generate()`: \n * `request.provider.options` **Changed**\n* `open_router.video_generation.generate()`: \n * `request.provider.options` **Changed**\n"
11244+
releaseNotes: |
11245+
## Python SDK Changes:
11246+
* `open_router.stt.create_transcription()`: `response` **Changed**
11247+
* `open_router.stt.create_transcription_multipart()`: `response` **Changed**

.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.0.15
39+
version: 1.0.16
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21817,6 +21817,7 @@ components:
2181721817
id: 0
2181821818
no_speech_prob: 0.01
2181921819
seek: 0
21820+
speaker: 0
2182021821
start: 0
2182121822
temperature: 0
2182221823
text: 'Hello there.'
@@ -21850,6 +21851,10 @@ components:
2185021851
description: 'Seek offset of the segment'
2185121852
example: 0
2185221853
type: 'integer'
21854+
speaker:
21855+
description: 'Speaker index for the segment, present when the provider returns diarization data'
21856+
example: 0
21857+
type: 'integer'
2185321858
start:
2185421859
description: 'Segment start time in seconds'
2185521860
example: 0
@@ -21918,6 +21923,7 @@ components:
2191821923
description: 'A timestamped word, returned when the provider includes word-level timestamps'
2191921924
example:
2192021925
end: 0.4
21926+
speaker: 0
2192121927
start: 0
2192221928
word: 'Hello'
2192321929
properties:
@@ -21926,6 +21932,10 @@ components:
2192621932
example: 0.4
2192721933
format: 'double'
2192821934
type: 'number'
21935+
speaker:
21936+
description: 'Speaker index for the word, present when the provider returns diarization data'
21937+
example: 0
21938+
type: 'integer'
2192921939
start:
2193021940
description: 'Word start time in seconds'
2193121941
example: 0

.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:8c16d3b18a11a7180f5a48c6b154dad8c0f7ebc2cb3a15bc287276bcc7ed097b
6-
sourceBlobDigest: sha256:1c7e1b4ca94f149a352d532529df8d91755f374c2c63b3348a89b402e0074042
5+
sourceRevisionDigest: sha256:927690f3b7513ac384577426ddc3ab6f33ace91470134513a640477be3d5e985
6+
sourceBlobDigest: sha256:e8767ddd2466ce51af8597f7a78aabf27e583167d20b7c5532afaca59d4ccc04
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:8c16d3b18a11a7180f5a48c6b154dad8c0f7ebc2cb3a15bc287276bcc7ed097b
15-
sourceBlobDigest: sha256:1c7e1b4ca94f149a352d532529df8d91755f374c2c63b3348a89b402e0074042
14+
sourceRevisionDigest: sha256:927690f3b7513ac384577426ddc3ab6f33ace91470134513a640477be3d5e985
15+
sourceBlobDigest: sha256:e8767ddd2466ce51af8597f7a78aabf27e583167d20b7c5532afaca59d4ccc04
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:572eae0a39d1d0420b7d4991aa016251d51c0ebe16c3f624ef8b721302c1d545
17+
codeSamplesRevisionDigest: sha256:fb6bd97e300671bee7d7685185eb9ec8fc11d937be64cd114438d62b9e8bc316
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
@@ -729,4 +729,14 @@ Based on:
729729
### Generated
730730
- [python v1.0.15] .
731731
### Releases
732-
- [PyPI v1.0.15] https://pypi.org/project/openrouter/1.0.15 - .
732+
- [PyPI v1.0.15] https://pypi.org/project/openrouter/1.0.15 - .
733+
734+
## 2026-07-24 00:17:15
735+
### Changes
736+
Based on:
737+
- OpenAPI Doc
738+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
739+
### Generated
740+
- [python v1.0.16] .
741+
### Releases
742+
- [PyPI v1.0.16] https://pypi.org/project/openrouter/1.0.16 - .

docs/components/sttsegment.mdx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ A timestamped transcript segment, returned when response_format is verbose_json
77

88
## Fields
99

10-
| Field | Type | Required | Description | Example |
11-
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
12-
| `avg_logprob` | *Optional[float]* | :heavy_minus_sign: | Average log probability of the segment | |
13-
| `compression_ratio` | *Optional[float]* | :heavy_minus_sign: | Compression ratio of the segment | |
14-
| `end` | *float* | :heavy_check_mark: | Segment end time in seconds | 3.2 |
15-
| `id` | *int* | :heavy_check_mark: | Segment index within the transcript | 0 |
16-
| `no_speech_prob` | *Optional[float]* | :heavy_minus_sign: | Probability the segment contains no speech | |
17-
| `seek` | *Optional[int]* | :heavy_minus_sign: | Seek offset of the segment | 0 |
18-
| `start` | *float* | :heavy_check_mark: | Segment start time in seconds | 0 |
19-
| `temperature` | *Optional[float]* | :heavy_minus_sign: | Temperature used for the segment | |
20-
| `text` | *str* | :heavy_check_mark: | Transcribed text of the segment | Hello there. |
21-
| `tokens` | List[*int*] | :heavy_minus_sign: | Token IDs of the segment | |
10+
| Field | Type | Required | Description | Example |
11+
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
12+
| `avg_logprob` | *Optional[float]* | :heavy_minus_sign: | Average log probability of the segment | |
13+
| `compression_ratio` | *Optional[float]* | :heavy_minus_sign: | Compression ratio of the segment | |
14+
| `end` | *float* | :heavy_check_mark: | Segment end time in seconds | 3.2 |
15+
| `id` | *int* | :heavy_check_mark: | Segment index within the transcript | 0 |
16+
| `no_speech_prob` | *Optional[float]* | :heavy_minus_sign: | Probability the segment contains no speech | |
17+
| `seek` | *Optional[int]* | :heavy_minus_sign: | Seek offset of the segment | 0 |
18+
| `speaker` | *Optional[int]* | :heavy_minus_sign: | Speaker index for the segment, present when the provider returns diarization data | 0 |
19+
| `start` | *float* | :heavy_check_mark: | Segment start time in seconds | 0 |
20+
| `temperature` | *Optional[float]* | :heavy_minus_sign: | Temperature used for the segment | |
21+
| `text` | *str* | :heavy_check_mark: | Transcribed text of the segment | Hello there. |
22+
| `tokens` | List[*int*] | :heavy_minus_sign: | Token IDs of the segment | |

0 commit comments

Comments
 (0)