Skip to content

Commit a0dca81

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 5290e7b commit a0dca81

1 file changed

Lines changed: 28 additions & 21 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8232,7 +8232,7 @@ components:
82328232
- 'parameters'
82338233
type: 'object'
82348234
FusionAnalysisResult:
8235-
description: 'Structured analysis produced by the fusion judge model.'
8235+
description: 'Structured analysis produced by the fusion analyst model.'
82368236
example:
82378237
blind_spots:
82388238
- 'No model considered the impact on existing API consumers.'
@@ -8317,7 +8317,7 @@ components:
83178317
- 'blind_spots'
83188318
type: 'object'
83198319
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.'
83218321
example:
83228322
analysis:
83238323
blind_spots: []
@@ -8350,17 +8350,23 @@ components:
83508350
- 'sequence_number'
83518351
type: 'object'
83528352
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.'
83548354
example:
8355+
analyst_model: 'openai/gpt-5'
83558356
item_id: 'st_fusion_abc'
83568357
judge_model: 'openai/gpt-5'
83578358
output_index: 0
83588359
sequence_number: 25
83598360
type: 'response.fusion_call.analysis.in_progress'
83608361
properties:
8362+
analyst_model:
8363+
description: 'Slug of the model producing the structured analysis.'
8364+
type: 'string'
83618365
item_id:
83628366
type: 'string'
83638367
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`.'
83648370
type: 'string'
83658371
output_index:
83668372
type: 'integer'
@@ -8372,6 +8378,7 @@ components:
83728378
type: 'string'
83738379
required:
83748380
- 'type'
8381+
- 'analyst_model'
83758382
- 'judge_model'
83768383
- 'output_index'
83778384
- 'item_id'
@@ -8595,7 +8602,7 @@ components:
85958602
model: '~anthropic/claude-opus-latest'
85968603
properties:
85978604
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).'
85998606
example:
86008607
- '~anthropic/claude-opus-latest'
86018608
- '~openai/gpt-latest'
@@ -8613,25 +8620,25 @@ components:
86138620
- 'fusion'
86148621
type: 'string'
86158622
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.'
86178624
example: 12
86188625
maximum: 16
86198626
minimum: 1
86208627
type: 'integer'
86218628
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.'
86238630
example: '~anthropic/claude-opus-latest'
86248631
type: 'string'
86258632
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.'
86278634
enum:
86288635
- 'general-high'
86298636
- 'general-budget'
86308637
- 'general-fast'
86318638
example: 'general-high'
86328639
type: 'string'
86338640
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).'
86358642
example:
86368643
- parameters:
86378644
excluded_domains:
@@ -8681,7 +8688,7 @@ components:
86818688
- 'id'
86828689
type: 'object'
86838690
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.'
86858692
example:
86868693
parameters:
86878694
analysis_models:
@@ -8707,7 +8714,7 @@ components:
87078714
- '~google/gemini-pro-latest'
87088715
properties:
87098716
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.'
87118718
example:
87128719
- '~anthropic/claude-opus-latest'
87138720
- '~openai/gpt-latest'
@@ -8720,24 +8727,24 @@ components:
87208727
cache_control:
87218728
$ref: '#/components/schemas/AnthropicCacheControlDirective'
87228729
max_completion_tokens:
8723-
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.'
87248731
example: 16384
87258732
type: 'integer'
87268733
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.'
87288735
example: 12
87298736
maximum: 16
87308737
minimum: 1
87318738
type: 'integer'
87328739
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.'
87348741
example: '~anthropic/claude-opus-latest'
87358742
type: 'string'
87368743
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.'
87388745
properties:
87398746
effort:
8740-
description: 'Reasoning effort level for panelist and judge inner calls.'
8747+
description: 'Reasoning effort level for panelist and analyst inner calls.'
87418748
enum:
87428749
- 'max'
87438750
- 'xhigh'
@@ -8748,16 +8755,16 @@ components:
87488755
- 'none'
87498756
type: 'string'
87508757
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.'
87528759
type: 'integer'
87538760
type: 'object'
87548761
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.'
87568763
example: 0.7
87578764
format: 'double'
87588765
type: 'number'
87598766
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).'
87618768
example:
87628769
- parameters:
87638770
excluded_domains:
@@ -8789,7 +8796,7 @@ components:
87898796
description: 'Title of the retrieved web page.'
87908797
type: 'string'
87918798
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.'
87938800
type: 'string'
87948801
required:
87958802
- 'url'
@@ -17169,7 +17176,7 @@ components:
1716917176
type: 'object'
1717017177
type: 'array'
1717117178
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.'
1717317180
type: 'string'
1717417181
id:
1717517182
type: 'string'
@@ -17186,7 +17193,7 @@ components:
1718617193
type: 'object'
1718717194
type: 'array'
1718817195
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.'
1719017197
items:
1719117198
$ref: '#/components/schemas/FusionSource'
1719217199
type: 'array'

0 commit comments

Comments
 (0)