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 a0dca81
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+28-21Lines changed: 28 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -8232,7 +8232,7 @@ components:
8232
8232
- 'parameters'
8233
8233
type: 'object'
8234
8234
FusionAnalysisResult:
8235
-
description: 'Structured analysis produced by the fusion judge model.'
8235
+
description: 'Structured analysis produced by the fusion analyst model.'
8236
8236
example:
8237
8237
blind_spots:
8238
8238
- 'No model considered the impact on existing API consumers.'
@@ -8317,7 +8317,7 @@ components:
8317
8317
- 'blind_spots'
8318
8318
type: 'object'
8319
8319
FusionCallAnalysisCompletedEvent:
8320
-
description: 'Emitted when the fusion judge completes with the structured analysis.'
8320
+
description: 'Emitted when the fusion analyst completes with the structured analysis.'
8321
8321
example:
8322
8322
analysis:
8323
8323
blind_spots: []
@@ -8350,17 +8350,23 @@ components:
8350
8350
- 'sequence_number'
8351
8351
type: 'object'
8352
8352
FusionCallAnalysisInProgressEvent:
8353
-
description: 'Emitted when the fusion judge starts producing the structured analysis.'
8353
+
description: 'Emitted when the fusion analyst starts producing the structured analysis.'
8354
8354
example:
8355
+
analyst_model: 'openai/gpt-5'
8355
8356
item_id: 'st_fusion_abc'
8356
8357
judge_model: 'openai/gpt-5'
8357
8358
output_index: 0
8358
8359
sequence_number: 25
8359
8360
type: 'response.fusion_call.analysis.in_progress'
8360
8361
properties:
8362
+
analyst_model:
8363
+
description: 'Slug of the model producing the structured analysis.'
8364
+
type: 'string'
8361
8365
item_id:
8362
8366
type: 'string'
8363
8367
judge_model:
8368
+
deprecated: true
8369
+
description: 'Deprecated alias of `analyst_model`, kept so existing consumers keep working. Always carries the same value. Use `analyst_model`.'
8364
8370
type: 'string'
8365
8371
output_index:
8366
8372
type: 'integer'
@@ -8372,6 +8378,7 @@ components:
8372
8378
type: 'string'
8373
8379
required:
8374
8380
- 'type'
8381
+
- 'analyst_model'
8375
8382
- 'judge_model'
8376
8383
- 'output_index'
8377
8384
- 'item_id'
@@ -8595,7 +8602,7 @@ components:
8595
8602
model: '~anthropic/claude-opus-latest'
8596
8603
properties:
8597
8604
analysis_models:
8598
-
description: 'Slugs of models to run in parallel as the "expert panel" the judge analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-latest, ~google/gemini-pro-latest).'
8605
+
description: 'Slugs of models to run in parallel as the "expert panel" the analyst analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-latest, ~google/gemini-pro-latest).'
8599
8606
example:
8600
8607
- '~anthropic/claude-opus-latest'
8601
8608
- '~openai/gpt-latest'
@@ -8613,25 +8620,25 @@ components:
8613
8620
- 'fusion'
8614
8621
type: 'string'
8615
8622
max_tool_calls:
8616
-
description: 'Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16.'
8623
+
description: 'Maximum number of tool-calling steps each panelist (analysis model) and the analyst model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16.'
8617
8624
example: 12
8618
8625
maximum: 16
8619
8626
minimum: 1
8620
8627
type: 'integer'
8621
8628
model:
8622
-
description: 'Slug of the model that performs both the judge step (with web_search + web_fetch) and the final synthesis. When omitted, defaults to the first model in the Quality preset.'
8629
+
description: 'Slug of the model that performs both the analyst step (with web_search + web_fetch) and the final synthesis. When omitted, defaults to the first model in the Quality preset.'
8623
8630
example: '~anthropic/claude-opus-latest'
8624
8631
type: 'string'
8625
8632
preset:
8626
-
description: 'A curated OpenRouter fusion preset (slugs follow `<task>-<tier>`, e.g. `general-high`). Expands server-side into the preset''s analysis_models panel and judge model, so callers never name individual models. Explicitly provided `analysis_models` / `model` take precedence.'
8633
+
description: 'A curated OpenRouter fusion preset (slugs follow `<task>-<tier>`, e.g. `general-high`). Expands server-side into the preset''s analysis_models panel and analyst model, so callers never name individual models. Explicitly provided `analysis_models` / `model` take precedence.'
8627
8634
enum:
8628
8635
- 'general-high'
8629
8636
- 'general-budget'
8630
8637
- 'general-fast'
8631
8638
example: 'general-high'
8632
8639
type: 'string'
8633
8640
tools:
8634
-
description: 'Server tools available to panelist and judge inner calls. Each entry uses the same `{ type, parameters? }` shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search" }, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from parametric knowledge only).'
8641
+
description: 'Server tools available to panelist and analyst inner calls. Each entry uses the same `{ type, parameters? }` shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search" }, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from parametric knowledge only).'
8635
8642
example:
8636
8643
- parameters:
8637
8644
excluded_domains:
@@ -8681,7 +8688,7 @@ components:
8681
8688
- 'id'
8682
8689
type: 'object'
8683
8690
FusionServerTool_OpenRouter:
8684
-
description: 'OpenRouter built-in server tool: fans out the user prompt to a panel of analysis models, then asks a judge model to summarize their collective output as structured JSON the outer model can synthesize from.'
8691
+
description: 'OpenRouter built-in server tool: fans out the user prompt to a panel of analysis models, then asks an analyst model to summarize their collective output as structured JSON the outer model can synthesize from.'
8685
8692
example:
8686
8693
parameters:
8687
8694
analysis_models:
@@ -8707,7 +8714,7 @@ components:
8707
8714
- '~google/gemini-pro-latest'
8708
8715
properties:
8709
8716
analysis_models:
8710
-
description: 'Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then a judge model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion.'
8717
+
description: 'Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then an analyst model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion.'
description: 'Maximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, panelists default to 32000 and the judge to 20000.'
8730
+
description: 'Maximum number of output tokens (including reasoning tokens) each panelist and the analyst model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, panelists default to 32000 and the analyst to 20000.'
8724
8731
example: 16384
8725
8732
type: 'integer'
8726
8733
max_tool_calls:
8727
-
description: 'Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16.'
8734
+
description: 'Maximum number of tool-calling steps each panelist (analysis model) and the analyst model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16.'
8728
8735
example: 12
8729
8736
maximum: 16
8730
8737
minimum: 1
8731
8738
type: 'integer'
8732
8739
model:
8733
-
description: 'Slug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer API request.'
8740
+
description: 'Slug of the analyst model that produces the structured analysis JSON. Defaults to the model used in the outer API request.'
8734
8741
example: '~anthropic/claude-opus-latest'
8735
8742
type: 'string'
8736
8743
reasoning:
8737
-
description: 'Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking.'
8744
+
description: 'Reasoning configuration forwarded to panelist and analyst inner calls. Use this to control reasoning effort and token budget for models that support extended thinking.'
8738
8745
properties:
8739
8746
effort:
8740
-
description: 'Reasoning effort level for panelist and judge inner calls.'
8747
+
description: 'Reasoning effort level for panelist and analyst inner calls.'
8741
8748
enum:
8742
8749
- 'max'
8743
8750
- 'xhigh'
@@ -8748,16 +8755,16 @@ components:
8748
8755
- 'none'
8749
8756
type: 'string'
8750
8757
max_tokens:
8751
-
description: 'Maximum number of reasoning tokens each panelist and judge model may use. Helps bound cost when models allocate too much budget to chain-of-thought.'
8758
+
description: 'Maximum number of reasoning tokens each panelist and analyst model may use. Helps bound cost when models allocate too much budget to chain-of-thought.'
8752
8759
type: 'integer'
8753
8760
type: 'object'
8754
8761
temperature:
8755
-
description: 'Temperature forwarded to panelist inner calls. The judge always runs at temperature 0 regardless of this value. When omitted, the provider''s default applies.'
8762
+
description: 'Temperature forwarded to panelist inner calls. The analyst always runs at temperature 0 regardless of this value. When omitted, the provider''s default applies.'
8756
8763
example: 0.7
8757
8764
format: 'double'
8758
8765
type: 'number'
8759
8766
tools:
8760
-
description: 'Server tools available to panelist and judge inner calls. Each entry uses the same `{ type, parameters? }` shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search" }, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from parametric knowledge only).'
8767
+
description: 'Server tools available to panelist and analyst inner calls. Each entry uses the same `{ type, parameters? }` shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search" }, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from parametric knowledge only).'
8761
8768
example:
8762
8769
- parameters:
8763
8770
excluded_domains:
@@ -8789,7 +8796,7 @@ components:
8789
8796
description: 'Title of the retrieved web page.'
8790
8797
type: 'string'
8791
8798
url:
8792
-
description: 'URL of the web page a panel or the judge retrieved during the run.'
8799
+
description: 'URL of the web page a panel or the analyst retrieved during the run.'
8793
8800
type: 'string'
8794
8801
required:
8795
8802
- 'url'
@@ -17169,7 +17176,7 @@ components:
17169
17176
type: 'object'
17170
17177
type: 'array'
17171
17178
failure_reason:
17172
-
description: 'Typed failure reason when the fusion run failed. Possible values include: all_panels_failed, insufficient_credits, rate_limited, judge_not_valid_json, judge_schema_mismatch, judge_upstream_error, judge_empty_completion.'
17179
+
description: 'Typed failure reason when the fusion run failed. Possible values include: all_panels_failed, insufficient_credits, rate_limited, judge_not_valid_json, judge_schema_mismatch, judge_upstream_error, judge_empty_completion. The four analysis-stage codes keep their pre-rename `judge_` spelling so existing consumers keep matching.'
17173
17180
type: 'string'
17174
17181
id:
17175
17182
type: 'string'
@@ -17186,7 +17193,7 @@ components:
17186
17193
type: 'object'
17187
17194
type: 'array'
17188
17195
sources:
17189
-
description: '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.'
17196
+
description: 'Web pages the analysis panels and analyst 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