You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 10f2890
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8356,6 +8356,22 @@ components:
8356
8356
maxItems: 8
8357
8357
type: array
8358
8358
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
8359
8375
GenerationContentData:
8360
8376
description: Stored prompt and completion content
8361
8377
example:
@@ -16212,6 +16228,12 @@ components:
16212
16228
- model
16213
16229
type: object
16214
16230
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.
Copy file name to clipboardExpand all lines: src/openrouter/components/outputfusionservertoolitem.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
from __future__ importannotations
4
4
from .fusionanalysisresultimportFusionAnalysisResult, FusionAnalysisResultTypedDict
5
+
from .fusionsourceimportFusionSource, FusionSourceTypedDict
5
6
from .toolcallstatusimportToolCallStatus
6
7
fromopenrouter.typesimportBaseModel
7
8
fromopenrouter.utilsimportvalidate_open_enum
@@ -60,6 +61,8 @@ class OutputFusionServerToolItemTypedDict(TypedDict):
60
61
id: NotRequired[str]
61
62
responses: NotRequired[List[ResponseTypedDict]]
62
63
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."""
63
66
64
67
65
68
classOutputFusionServerToolItem(BaseModel):
@@ -85,3 +88,6 @@ class OutputFusionServerToolItem(BaseModel):
85
88
86
89
responses: Optional[List[Response]] =None
87
90
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