Skip to content

Commit a31b2a9

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

10 files changed

Lines changed: 54 additions & 39 deletions

File tree

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

Lines changed: 14 additions & 14 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: 793bfcba8e4eca9881a65d3d1b871e87
4+
docChecksum: 027e403236028f961e921f46bd90bbcc
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.153
9-
configChecksum: d9812d55ca2876f75f3a7f7bf20a8503
8+
releaseVersion: 1.3.154
9+
configChecksum: ae17741e99ae9e0ce507f21ecfb67f93
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: ab77b687-57fe-49a7-8340-d56673bc21f0
15-
pristine_commit_hash: c74f43a0c5ace00e7f78a1b53a0f9af333febf44
16-
pristine_tree_hash: 7279b6b781c512a84f72b9599df5388538a67d9e
14+
generation_id: 097f8be6-fa34-49e0-98a9-e7db41b3fa50
15+
pristine_commit_hash: 7fc03154d584f1cd5a67e38b20d0295fbcb70b57
16+
pristine_tree_hash: 41f477d037cf8c6299a2fdfc91df102670c11f43
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -3620,8 +3620,8 @@ trackedFiles:
36203620
pristine_git_object: e971ec1fa26c3043eeef4862f105546922e4a7bd
36213621
docs/components/extractionlistanswer.mdx:
36223622
id: a2388a5a8321
3623-
last_write_checksum: sha1:3426d41448b8c053f7736058d40fd1de43eb25aa
3624-
pristine_git_object: 3e064b846e9e7b0bfa6b830be13ce9acc8310c2e
3623+
last_write_checksum: sha1:c6ddd57bbe65fd30c77cd2229819f1181eb07189
3624+
pristine_git_object: 6c314960c85f4fe8840994bf22546a8b945fc245
36253625
docs/components/extractionlistanswerguess.mdx:
36263626
id: 3a1738d5a4b3
36273627
last_write_checksum: sha1:67f869f2bdbc3fe19e4c5ba0c48e0f7b0d1b3f91
@@ -11588,8 +11588,8 @@ trackedFiles:
1158811588
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1158911589
pyproject.toml:
1159011590
id: 5d07e7d72637
11591-
last_write_checksum: sha1:e379fbc71e26bd4b84097fcf5173696686122f4e
11592-
pristine_git_object: 1d4ec34f204bb2ca1690dd5f519a5a8c506575eb
11591+
last_write_checksum: sha1:c77f305aed276bcfa29c1b7f8450f1ff5a66ccf1
11592+
pristine_git_object: dfc2e5deed08449f1a0490114120a7adbf8a1c01
1159311593
scripts/prepare_readme.py:
1159411594
id: e0c5957a6035
1159511595
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11616,8 +11616,8 @@ trackedFiles:
1161611616
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1161711617
src/openrouter/_version.py:
1161811618
id: d8d15ad6c586
11619-
last_write_checksum: sha1:3a8273c43d94a8b30bf3c76889cca802957a68ca
11620-
pristine_git_object: 3ccca8b53fc52b34aae3ecda5ea43bfc08c35055
11619+
last_write_checksum: sha1:bfc01f9185df178f388851445e0a2205dc5d69ee
11620+
pristine_git_object: 94ecda04c4208be7a2ef82de9213e26724ecfe02
1162111621
src/openrouter/alpha.py:
1162211622
id: 306c4d93308d
1162311623
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -13140,8 +13140,8 @@ trackedFiles:
1314013140
pristine_git_object: 47809e77d553ffe84129e51a757ba394c662929b
1314113141
src/openrouter/components/extractionlistanswer.py:
1314213142
id: c7aaa4f5afb4
13143-
last_write_checksum: sha1:65ba10aada33f83fadb4ac26ffa65e0595e34b63
13144-
pristine_git_object: b6d3fdd510e30f123b694566e7a3158a44fd5ac5
13143+
last_write_checksum: sha1:abc9d5e9dce331fe65ab706d126b09de2dd91286
13144+
pristine_git_object: ad234958c150abb0c3df9b1201d677beb315e93a
1314513145
src/openrouter/components/extractionlistfield.py:
1314613146
id: dab2a75a880d
1314713147
last_write_checksum: sha1:7c25db467c8f01cba924c3885ca3236e0e5cb358

β€Ž.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.153
40+
version: 1.3.154
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13291,13 +13291,16 @@ components:
1329113291
type: 'string'
1329213292
x-speakeasy-unknown-values: allow
1329313293
spans:
13294+
description: 'One span per item of `value`, in the same order; null for an item that has no offsets in the state text (read from an image or a document).'
1329413295
items:
1329513296
description: 'Unicode code point offsets [start, end) into the state text: index code points (not UTF-16 code units or UTF-8 bytes), so an emoji or accented letter counts once.'
1329613297
items:
1329713298
type: 'integer'
1329813299
maxItems: 2
1329913300
minItems: 2
13300-
type: 'array'
13301+
type:
13302+
- 'array'
13303+
- 'null'
1330113304
type: 'array'
1330213305
spell_confidence:
1330313306
description: 'Confidence in the spelling of text read from an image.'

β€Ž.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:a4da6c300145abdd1d6e7320eae8786badcddc2783da4d0a52dd28ada2493050
6-
sourceBlobDigest: sha256:425ca8d485ce1e14998b2f7da0ae7342bf70b869fddae280056fc759f154295c
5+
sourceRevisionDigest: sha256:1de9f848396cbae86294b2063975cf380ddb57dbcfbf2494731c9e7074559d1d
6+
sourceBlobDigest: sha256:f3feb22229a9ad0712298febda7746fa201156c86b3af674e56f82222a354010
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:a4da6c300145abdd1d6e7320eae8786badcddc2783da4d0a52dd28ada2493050
15-
sourceBlobDigest: sha256:425ca8d485ce1e14998b2f7da0ae7342bf70b869fddae280056fc759f154295c
14+
sourceRevisionDigest: sha256:1de9f848396cbae86294b2063975cf380ddb57dbcfbf2494731c9e7074559d1d
15+
sourceBlobDigest: sha256:f3feb22229a9ad0712298febda7746fa201156c86b3af674e56f82222a354010
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:0c805b4f4e03c05f5661e3fa9fd81fbfad07e67332b211ac9e1ad223df4dd8da
17+
codeSamplesRevisionDigest: sha256:63a335702137bcd547403f0e67cd33a2f44e5d14ca2090d76d0f50c1a70ebc73
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
@@ -4299,4 +4299,14 @@ Based on:
42994299
### Generated
43004300
- [python v1.3.153] .
43014301
### Releases
4302-
- [PyPI v1.3.153] https://pypi.org/project/openrouter/1.3.153 - .
4302+
- [PyPI v1.3.153] https://pypi.org/project/openrouter/1.3.153 - .
4303+
4304+
## 2026-11-10 22:40:00
4305+
### Changes
4306+
Based on:
4307+
- OpenAPI Doc
4308+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4309+
### Generated
4310+
- [python v1.3.154] .
4311+
### Releases
4312+
- [PyPI v1.3.154] https://pypi.org/project/openrouter/1.3.154 - .

β€Ždocs/components/extractionlistanswer.mdxβ€Ž

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ title: "ExtractionListAnswer"
44

55
## Fields
66

7-
| Field | Type | Required | Description |
8-
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
9-
| `confidence` | *Optional[float]* | βž– | N/A |
10-
| `confidences` | List[*float*] | βž– | One confidence per item of `value`, in the same order. |
11-
| `guess` | List[[components.ExtractionListAnswerGuess](../components/extractionlistanswerguess.mdx)] | βž– | The most likely value even when `value` is null because `p_null` crossed the threshold. |
12-
| `p_null` | *Optional[float]* | βž– | Probability that the state contains nothing for this field. |
13-
| `source` | [Optional[components.ExtractionListAnswerSource]](../components/extractionlistanswersource.mdx) | βž– | Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. |
14-
| `spans` | List[List[*int*]] | βž– | N/A |
15-
| `spell_confidence` | *Optional[float]* | βž– | Confidence in the spelling of text read from an image. |
16-
| `type` | [components.ExtractionListAnswerType](../components/extractionlistanswertype.mdx) | βœ”οΈ | N/A |
17-
| `value` | List[[components.ExtractionListAnswerValue](../components/extractionlistanswervalue.mdx)] | βœ”οΈ | N/A |
7+
| Field | Type | Required | Description |
8+
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
9+
| `confidence` | *Optional[float]* | βž– | N/A |
10+
| `confidences` | List[*float*] | βž– | One confidence per item of `value`, in the same order. |
11+
| `guess` | List[[components.ExtractionListAnswerGuess](../components/extractionlistanswerguess.mdx)] | βž– | The most likely value even when `value` is null because `p_null` crossed the threshold. |
12+
| `p_null` | *Optional[float]* | βž– | Probability that the state contains nothing for this field. |
13+
| `source` | [Optional[components.ExtractionListAnswerSource]](../components/extractionlistanswersource.mdx) | βž– | Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text. |
14+
| `spans` | List[List[*int*]] | βž– | One span per item of `value`, in the same order; null for an item that has no offsets in the state text (read from an image or a document). |
15+
| `spell_confidence` | *Optional[float]* | βž– | Confidence in the spelling of text read from an image. |
16+
| `type` | [components.ExtractionListAnswerType](../components/extractionlistanswertype.mdx) | βœ”οΈ | N/A |
17+
| `value` | List[[components.ExtractionListAnswerValue](../components/extractionlistanswervalue.mdx)] | βœ”οΈ | N/A |

β€Ž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.153"
3+
version = "1.3.154"
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.153"
6+
__version__: str = "1.3.154"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.950.13"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.153 2.950.13 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.154 2.950.13 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

β€Žsrc/openrouter/components/extractionlistanswer.pyβ€Ž

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class ExtractionListAnswerTypedDict(TypedDict):
5353
r"""Probability that the state contains nothing for this field."""
5454
source: NotRequired[ExtractionListAnswerSource]
5555
r"""Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text."""
56-
spans: NotRequired[List[List[int]]]
56+
spans: NotRequired[List[Nullable[List[int]]]]
57+
r"""One span per item of `value`, in the same order; null for an item that has no offsets in the state text (read from an image or a document)."""
5758
spell_confidence: NotRequired[float]
5859
r"""Confidence in the spelling of text read from an image."""
5960

@@ -77,7 +78,8 @@ class ExtractionListAnswer(BaseModel):
7778
source: Optional[ExtractionListAnswerSource] = None
7879
r"""Set to `image` or `document` when the answer was read from an image or a PDF rather than the state text."""
7980

80-
spans: Optional[List[List[int]]] = None
81+
spans: Optional[List[Nullable[List[int]]]] = None
82+
r"""One span per item of `value`, in the same order; null for an item that has no offsets in the state text (read from an image or a document)."""
8183

8284
spell_confidence: Optional[float] = None
8385
r"""Confidence in the spelling of text read from an image."""

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