mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
chore: update OpenAPI spec from monorepo (#241)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
bb74b7fabc
commit
90f661ff73
@@ -6381,6 +6381,54 @@ components:
|
||||
required:
|
||||
- id
|
||||
type: object
|
||||
FusionServerTool_OpenRouter:
|
||||
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.
|
||||
example:
|
||||
parameters:
|
||||
analysis_models:
|
||||
- ~anthropic/claude-opus-latest
|
||||
- ~openai/gpt-latest
|
||||
type: openrouter:fusion
|
||||
properties:
|
||||
parameters:
|
||||
$ref: '#/components/schemas/FusionServerToolConfig'
|
||||
type:
|
||||
enum:
|
||||
- openrouter:fusion
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
FusionServerToolConfig:
|
||||
description: Configuration for the openrouter:fusion server tool.
|
||||
example:
|
||||
analysis_models:
|
||||
- ~anthropic/claude-opus-latest
|
||||
- ~openai/gpt-latest
|
||||
properties:
|
||||
analysis_models:
|
||||
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.
|
||||
example:
|
||||
- ~anthropic/claude-opus-latest
|
||||
- ~openai/gpt-latest
|
||||
items:
|
||||
type: string
|
||||
maxItems: 8
|
||||
minItems: 1
|
||||
type: array
|
||||
model:
|
||||
description: >-
|
||||
Slug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer
|
||||
API request.
|
||||
example: ~anthropic/claude-opus-latest
|
||||
type: string
|
||||
type: object
|
||||
GenerationContentData:
|
||||
description: Stored prompt and completion content
|
||||
example:
|
||||
@@ -14112,6 +14160,7 @@ components:
|
||||
- $ref: '#/components/schemas/ApplyPatchServerTool'
|
||||
- $ref: '#/components/schemas/CustomTool'
|
||||
- $ref: '#/components/schemas/DatetimeServerTool'
|
||||
- $ref: '#/components/schemas/FusionServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
||||
- $ref: '#/components/schemas/WebFetchServerTool'
|
||||
|
||||
Reference in New Issue
Block a user