Skip to content

Commit 10f2890

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

12 files changed

Lines changed: 107 additions & 32 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 27 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: 943db43ef788f1fbf09ba21ebc37b36e
4+
docChecksum: cddcae9b4e616315fb557df6404b4868
55
docVersion: 1.0.0
66
speakeasyVersion: 1.680.0
77
generationVersion: 2.788.4
8-
releaseVersion: 0.10.6
9-
configChecksum: 8b6b6b859a7ac5f479ea7692967e2fa5
8+
releaseVersion: 0.10.7
9+
configChecksum: d7f0cac9aaaf632306fb2541355a2821
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: dd88384e-e683-40b7-b651-42a9d80338dc
15-
pristine_commit_hash: 4fac0f3ddfa463658573eff12f65fc97fc7256dc
16-
pristine_tree_hash: e21d30ee6d99331108acadd9040cffb37a1eaa9c
14+
generation_id: f0dde523-5fb9-45aa-ae0f-98c78b96933b
15+
pristine_commit_hash: 790ef7ce291dde4bc6496b02effdafb41c0069bb
16+
pristine_tree_hash: bb12a2f1ef846a84b308d3e30b03e081b9674a5e
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -1944,6 +1944,10 @@ trackedFiles:
19441944
id: 58ee513b0cad
19451945
last_write_checksum: sha1:2ec57cd7447b8eecdbe6fec744c22edb3a817999
19461946
pristine_git_object: c7121728c6509e3d02a0b431431f133067ca057d
1947+
docs/components/fusionsource.md:
1948+
id: 8e98a9da51e2
1949+
last_write_checksum: sha1:3e0611061189a883bfd2c1fad738798debb71e9a
1950+
pristine_git_object: 59ff3c09fff96145b369a5fe5165618810fa1076
19471951
docs/components/generationcontentdata.md:
19481952
id: 1085c488fd3a
19491953
last_write_checksum: sha1:186d3e8118f6d393d524a91e2ac06772a7eaf818
@@ -3346,8 +3350,8 @@ trackedFiles:
33463350
pristine_git_object: 31066e50f45a2f32c35d0389886757885704ea4a
33473351
docs/components/outputfusionservertoolitem.md:
33483352
id: 886e6be27ec2
3349-
last_write_checksum: sha1:9c957daab1d214aa7f9b997c451876c759de0eec
3350-
pristine_git_object: f16afb99ac514a2fa4b63fed2feea6226872a038
3353+
last_write_checksum: sha1:b3758081c485683416158c2f10c228958f60055b
3354+
pristine_git_object: be5e88a6f8bb73b9e2e7aaec2a8b4a84661e480f
33513355
docs/components/outputfusionservertoolitemtype.md:
33523356
id: 93233bb8c5d7
33533357
last_write_checksum: sha1:5e9a0f90c938eaa5fc231859f48f5b9673b6b00b
@@ -6338,8 +6342,8 @@ trackedFiles:
63386342
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
63396343
pyproject.toml:
63406344
id: 5d07e7d72637
6341-
last_write_checksum: sha1:f0d810bbc878221d09f42255265a4860b6172ac0
6342-
pristine_git_object: 9ca17d4ad72d4df47c7353c69a7edf3977cb1052
6345+
last_write_checksum: sha1:9b65dbc3d45846371aa00f643e177af228862884
6346+
pristine_git_object: 95bc7178949e81a4db246aec1ad4018331422267
63436347
scripts/prepare_readme.py:
63446348
id: e0c5957a6035
63456349
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -6366,8 +6370,8 @@ trackedFiles:
63666370
pristine_git_object: 07ace03229fd3267623c8f48665d2c3a67c3565d
63676371
src/openrouter/_version.py:
63686372
id: d8d15ad6c586
6369-
last_write_checksum: sha1:a5ac91c143d8f29b45461e1ce1ad4573e64eb436
6370-
pristine_git_object: 255f8f94a0bc1085ca60c24c5ecb43d78ee1d1d5
6373+
last_write_checksum: sha1:933d4821e7582d4c23d068f63df4d680dffb54d2
6374+
pristine_git_object: eb386f771bf1a2fe478721b946d9048bddec763f
63716375
src/openrouter/analytics.py:
63726376
id: cb406b5aaabb
63736377
last_write_checksum: sha1:6d47d1ab3da9cb4ac9f0a2bfe442f1a82a614f35
@@ -6406,8 +6410,8 @@ trackedFiles:
64066410
pristine_git_object: 2654cbc562cc83940a6713b68f3967cb3f9dcfbe
64076411
src/openrouter/components/__init__.py:
64086412
id: 81754e97b3f4
6409-
last_write_checksum: sha1:e38f46d4bf8292139d85d59c2b2cb5f450367e39
6410-
pristine_git_object: 27e2fff5aafa475227a34c3dd5242e4e54b9e762
6413+
last_write_checksum: sha1:d82d36a0074b74d4556f1226230bc17565ec0171
6414+
pristine_git_object: 581b01ca5299006b8b6596ea466a7b26810e594b
64116415
src/openrouter/components/aabenchmarkentry.py:
64126416
id: e2e0f0b48c82
64136417
last_write_checksum: sha1:1b6b66672fb80dccdc39843a98bdef6d7d804364
@@ -7256,6 +7260,10 @@ trackedFiles:
72567260
id: 0d1d229c531f
72577261
last_write_checksum: sha1:b0b2c44af496c446fd6bbf1396f1f97f696eff5e
72587262
pristine_git_object: 9d5ec202c11d21002eaa7b6724d62e0710c42522
7263+
src/openrouter/components/fusionsource.py:
7264+
id: ce20a4a9f32f
7265+
last_write_checksum: sha1:2141dd1dd9396035bf8070878c9ec945331514c8
7266+
pristine_git_object: c60f29915ce3fed38a693d10b8c2de868f8ee728
72597267
src/openrouter/components/generationcontentdata.py:
72607268
id: 0140215b5b46
72617269
last_write_checksum: sha1:09e15ae2acc4f44084e2206ea51e6a06f4c5ee11
@@ -7794,8 +7802,8 @@ trackedFiles:
77947802
pristine_git_object: dcfc7a806fbf5794ad168bca00344b005e0d16ee
77957803
src/openrouter/components/outputfusionservertoolitem.py:
77967804
id: 1d798a2bb7ae
7797-
last_write_checksum: sha1:3808bb5da64abfef93437fb05e494ea492eb9818
7798-
pristine_git_object: 0ad5d34088e18cd0727ce13c5b9a3b8d47a94297
7805+
last_write_checksum: sha1:72cd3cdd5e1f505fe58c30949b4ceba8faf49644
7806+
pristine_git_object: 0e8e4e6ed1d5e8c5fb613c6fb1c6beee033087c3
77997807
src/openrouter/components/outputimagegenerationcallitem.py:
78007808
id: 48d20dc00e1c
78017809
last_write_checksum: sha1:6795b316ac97958ba4381cdd4d6cc6108d7bd1a5
@@ -7810,8 +7818,8 @@ trackedFiles:
78107818
pristine_git_object: 897c4727eec2497fe15e5603187e24218c08ac87
78117819
src/openrouter/components/outputitems.py:
78127820
id: 90f107de3116
7813-
last_write_checksum: sha1:31923f8d495bcd6b48594217cff463b5f868ecbb
7814-
pristine_git_object: a7d056e30ef0b1035d5d2e020505821dbc638143
7821+
last_write_checksum: sha1:e262597f5269a4d4374500a0bc9b43701cc938fa
7822+
pristine_git_object: da3d920280394d094a6745d0770e57373df1afc5
78157823
src/openrouter/components/outputmcpservertoolitem.py:
78167824
id: bb8c2536a58e
78177825
last_write_checksum: sha1:6cbe556b2268af0142d982007b273cc43b7605c7
@@ -10560,4 +10568,4 @@ examples:
1056010568
"500":
1056110569
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1056210570
examplesVersion: 1.0.2
10563-
releaseNotes: "## Python SDK Changes:\n* `open_router.tts.create_speech()`: \n * `request.provider.options.quiver` **Added**\n* `open_router.stt.create_transcription()`: \n * `request.provider.options.quiver` **Added**\n* `open_router.byok.list()`: `request.provider` **Changed**\n* `open_router.images.generate()`: \n * `request.provider.options.quiver` **Added**\n* `open_router.video_generation.generate()`: \n * `request.provider.options.quiver` **Added**\n"
10571+
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.[array].[].[output_fusion_server_tool_item].sources` **Added**\n * `response` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.[array].[].[output_fusion_server_tool_item].sources` **Added**\n"

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
skipResponseBodyAssertions: false
3333
preApplyUnionDiscriminators: true
3434
python:
35-
version: 0.10.6
35+
version: 0.10.7
3636
additionalDependencies:
3737
dev: {}
3838
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8356,6 +8356,22 @@ components:
83568356
maxItems: 8
83578357
type: array
83588358
type: object
8359+
FusionSource:
8360+
description: A web page retrieved via web search during a fusion run.
8361+
example:
8362+
title: Example article title
8363+
url: https://example.com/article
8364+
properties:
8365+
title:
8366+
description: Title of the retrieved web page.
8367+
type: string
8368+
url:
8369+
description: URL of the web page a panel or the judge retrieved during the run.
8370+
type: string
8371+
required:
8372+
- url
8373+
- title
8374+
type: object
83598375
GenerationContentData:
83608376
description: Stored prompt and completion content
83618377
example:
@@ -16212,6 +16228,12 @@ components:
1621216228
- model
1621316229
type: object
1621416230
type: array
16231+
sources:
16232+
description: >-
16233+
Web pages the analysis panels and judge retrieved via web search during this fusion run, deduplicated by URL across the whole run. Present when at least one model cited a source.
16234+
items:
16235+
$ref: '#/components/schemas/FusionSource'
16236+
type: array
1621516237
status:
1621616238
$ref: '#/components/schemas/ToolCallStatus'
1621716239
type:

‎.speakeasy/workflow.lock‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.680.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:c71a8e6b169e2ba8a81840f6ebeeb268ee09a440fb16b891f74fe2a9b065b989
6-
sourceBlobDigest: sha256:9d925b089f27563fa71967c94b8307007161626a685b84f4c4ab046b78b33f01
5+
sourceRevisionDigest: sha256:c668cc885c117987e3c561af619ec3ad21dbb47bffdc491f06d93b8af0c122d3
6+
sourceBlobDigest: sha256:da0dd6040f1f11463b596a1425a6ed5c6f86b5b5e3de2b761cb426f3dcc1660c
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1782497972
9+
- speakeasy-sdk-regen-1782517441
1010
- 1.0.0
1111
targets:
1212
open-router:
1313
source: OpenRouter API
1414
sourceNamespace: open-router-chat-completions-api
15-
sourceRevisionDigest: sha256:c71a8e6b169e2ba8a81840f6ebeeb268ee09a440fb16b891f74fe2a9b065b989
16-
sourceBlobDigest: sha256:9d925b089f27563fa71967c94b8307007161626a685b84f4c4ab046b78b33f01
15+
sourceRevisionDigest: sha256:c668cc885c117987e3c561af619ec3ad21dbb47bffdc491f06d93b8af0c122d3
16+
sourceBlobDigest: sha256:da0dd6040f1f11463b596a1425a6ed5c6f86b5b5e3de2b761cb426f3dcc1660c
1717
codeSamplesNamespace: open-router-python-code-samples
18-
codeSamplesRevisionDigest: sha256:ad463b22c9ef7c281c59200fc59405a2d57b37cb07a848f6fad47870777c8ec0
18+
codeSamplesRevisionDigest: sha256:163ae66544ac5b5162821baae4129dd200441bac24bdacca44316db38a9b178f
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: 1.680.0

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,14 @@ Based on:
8888
### Generated
8989
- [python v0.10.6] .
9090
### Releases
91-
- [PyPI v0.10.6] https://pypi.org/project/openrouter/0.10.6 - .
91+
- [PyPI v0.10.6] https://pypi.org/project/openrouter/0.10.6 - .
92+
93+
## 2026-06-26 23:43:40
94+
### Changes
95+
Based on:
96+
- OpenAPI Doc
97+
- Speakeasy CLI 1.680.0 (2.788.4) https://github.com/speakeasy-api/speakeasy
98+
### Generated
99+
- [python v0.10.7] .
100+
### Releases
101+
- [PyPI v0.10.7] https://pypi.org/project/openrouter/0.10.7 - .

‎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 = "0.10.6"
3+
version = "0.10.7"
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 = "0.10.6"
6+
__version__: str = "0.10.7"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.788.4"
9-
__user_agent__: str = "speakeasy-sdk/python 0.10.6 2.788.4 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 0.10.7 2.788.4 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/components/__init__.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@
10201020
FusionServerToolConfigToolTypedDict,
10211021
FusionServerToolConfigTypedDict,
10221022
)
1023+
from .fusionsource import FusionSource, FusionSourceTypedDict
10231024
from .generationcontentdata import (
10241025
GenerationContentData,
10251026
GenerationContentDataOutput,
@@ -3423,6 +3424,8 @@
34233424
"FusionServerToolOpenRouter",
34243425
"FusionServerToolOpenRouterType",
34253426
"FusionServerToolOpenRouterTypedDict",
3427+
"FusionSource",
3428+
"FusionSourceTypedDict",
34263429
"GenerationContentData",
34273430
"GenerationContentDataOutput",
34283431
"GenerationContentDataOutputTypedDict",
@@ -5348,6 +5351,8 @@
53485351
"FusionServerToolConfigTool": ".fusionservertoolconfig",
53495352
"FusionServerToolConfigToolTypedDict": ".fusionservertoolconfig",
53505353
"FusionServerToolConfigTypedDict": ".fusionservertoolconfig",
5354+
"FusionSource": ".fusionsource",
5355+
"FusionSourceTypedDict": ".fusionsource",
53515356
"GenerationContentData": ".generationcontentdata",
53525357
"GenerationContentDataOutput": ".generationcontentdata",
53535358
"GenerationContentDataOutputTypedDict": ".generationcontentdata",
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2+
3+
from __future__ import annotations
4+
from openrouter.types import BaseModel
5+
from typing_extensions import TypedDict
6+
7+
8+
class FusionSourceTypedDict(TypedDict):
9+
r"""A web page retrieved via web search during a fusion run."""
10+
11+
title: str
12+
r"""Title of the retrieved web page."""
13+
url: str
14+
r"""URL of the web page a panel or the judge retrieved during the run."""
15+
16+
17+
class FusionSource(BaseModel):
18+
r"""A web page retrieved via web search during a fusion run."""
19+
20+
title: str
21+
r"""Title of the retrieved web page."""
22+
23+
url: str
24+
r"""URL of the web page a panel or the judge retrieved during the run."""

‎src/openrouter/components/outputfusionservertoolitem.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from __future__ import annotations
44
from .fusionanalysisresult import FusionAnalysisResult, FusionAnalysisResultTypedDict
5+
from .fusionsource import FusionSource, FusionSourceTypedDict
56
from .toolcallstatus import ToolCallStatus
67
from openrouter.types import BaseModel
78
from openrouter.utils import validate_open_enum
@@ -60,6 +61,8 @@ class OutputFusionServerToolItemTypedDict(TypedDict):
6061
id: NotRequired[str]
6162
responses: NotRequired[List[ResponseTypedDict]]
6263
r"""Analysis models that produced a response in this fusion run, with each model's full panel content."""
64+
sources: NotRequired[List[FusionSourceTypedDict]]
65+
r"""Web pages the analysis panels and judge retrieved via web search during this fusion run, deduplicated by URL across the whole run. Present when at least one model cited a source."""
6366

6467

6568
class OutputFusionServerToolItem(BaseModel):
@@ -85,3 +88,6 @@ class OutputFusionServerToolItem(BaseModel):
8588

8689
responses: Optional[List[Response]] = None
8790
r"""Analysis models that produced a response in this fusion run, with each model's full panel content."""
91+
92+
sources: Optional[List[FusionSource]] = None
93+
r"""Web pages the analysis panels and judge retrieved via web search during this fusion run, deduplicated by URL across the whole run. Present when at least one model cited a source."""

0 commit comments

Comments
 (0)