mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
chore: update OpenAPI spec from monorepo (#238)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
be479e24fd
commit
522b03abf3
@@ -3905,6 +3905,7 @@ components:
|
|||||||
auto-router: '#/components/schemas/AutoRouterPlugin'
|
auto-router: '#/components/schemas/AutoRouterPlugin'
|
||||||
context-compression: '#/components/schemas/ContextCompressionPlugin'
|
context-compression: '#/components/schemas/ContextCompressionPlugin'
|
||||||
file-parser: '#/components/schemas/FileParserPlugin'
|
file-parser: '#/components/schemas/FileParserPlugin'
|
||||||
|
fusion: '#/components/schemas/FusionPlugin'
|
||||||
moderation: '#/components/schemas/ModerationPlugin'
|
moderation: '#/components/schemas/ModerationPlugin'
|
||||||
pareto-router: '#/components/schemas/ParetoRouterPlugin'
|
pareto-router: '#/components/schemas/ParetoRouterPlugin'
|
||||||
response-healing: '#/components/schemas/ResponseHealingPlugin'
|
response-healing: '#/components/schemas/ResponseHealingPlugin'
|
||||||
@@ -3918,6 +3919,7 @@ components:
|
|||||||
- $ref: '#/components/schemas/ResponseHealingPlugin'
|
- $ref: '#/components/schemas/ResponseHealingPlugin'
|
||||||
- $ref: '#/components/schemas/ContextCompressionPlugin'
|
- $ref: '#/components/schemas/ContextCompressionPlugin'
|
||||||
- $ref: '#/components/schemas/ParetoRouterPlugin'
|
- $ref: '#/components/schemas/ParetoRouterPlugin'
|
||||||
|
- $ref: '#/components/schemas/FusionPlugin'
|
||||||
type: array
|
type: array
|
||||||
presence_penalty:
|
presence_penalty:
|
||||||
description: Presence penalty (-2.0 to 2.0)
|
description: Presence penalty (-2.0 to 2.0)
|
||||||
@@ -6212,6 +6214,45 @@ components:
|
|||||||
- name
|
- name
|
||||||
- parameters
|
- parameters
|
||||||
type: object
|
type: object
|
||||||
|
FusionPlugin:
|
||||||
|
example:
|
||||||
|
analysis_models:
|
||||||
|
- ~anthropic/claude-opus-latest
|
||||||
|
- ~openai/gpt-latest
|
||||||
|
enabled: true
|
||||||
|
id: fusion
|
||||||
|
model: ~anthropic/claude-opus-latest
|
||||||
|
properties:
|
||||||
|
analysis_models:
|
||||||
|
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).
|
||||||
|
example:
|
||||||
|
- ~anthropic/claude-opus-latest
|
||||||
|
- ~openai/gpt-latest
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
maxItems: 8
|
||||||
|
minItems: 1
|
||||||
|
type: array
|
||||||
|
enabled:
|
||||||
|
description: Set to false to disable the fusion plugin for this request. Defaults to true.
|
||||||
|
type: boolean
|
||||||
|
id:
|
||||||
|
enum:
|
||||||
|
- fusion
|
||||||
|
type: string
|
||||||
|
model:
|
||||||
|
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.
|
||||||
|
example: ~anthropic/claude-opus-latest
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
type: object
|
||||||
GenerationContentData:
|
GenerationContentData:
|
||||||
description: Stored prompt and completion content
|
description: Stored prompt and completion content
|
||||||
example:
|
example:
|
||||||
@@ -8561,6 +8602,7 @@ components:
|
|||||||
auto-router: '#/components/schemas/AutoRouterPlugin'
|
auto-router: '#/components/schemas/AutoRouterPlugin'
|
||||||
context-compression: '#/components/schemas/ContextCompressionPlugin'
|
context-compression: '#/components/schemas/ContextCompressionPlugin'
|
||||||
file-parser: '#/components/schemas/FileParserPlugin'
|
file-parser: '#/components/schemas/FileParserPlugin'
|
||||||
|
fusion: '#/components/schemas/FusionPlugin'
|
||||||
moderation: '#/components/schemas/ModerationPlugin'
|
moderation: '#/components/schemas/ModerationPlugin'
|
||||||
pareto-router: '#/components/schemas/ParetoRouterPlugin'
|
pareto-router: '#/components/schemas/ParetoRouterPlugin'
|
||||||
response-healing: '#/components/schemas/ResponseHealingPlugin'
|
response-healing: '#/components/schemas/ResponseHealingPlugin'
|
||||||
@@ -8574,6 +8616,7 @@ components:
|
|||||||
- $ref: '#/components/schemas/ResponseHealingPlugin'
|
- $ref: '#/components/schemas/ResponseHealingPlugin'
|
||||||
- $ref: '#/components/schemas/ContextCompressionPlugin'
|
- $ref: '#/components/schemas/ContextCompressionPlugin'
|
||||||
- $ref: '#/components/schemas/ParetoRouterPlugin'
|
- $ref: '#/components/schemas/ParetoRouterPlugin'
|
||||||
|
- $ref: '#/components/schemas/FusionPlugin'
|
||||||
type: array
|
type: array
|
||||||
provider:
|
provider:
|
||||||
$ref: '#/components/schemas/ProviderPreferences'
|
$ref: '#/components/schemas/ProviderPreferences'
|
||||||
@@ -10586,6 +10629,104 @@ components:
|
|||||||
name: get_weather
|
name: get_weather
|
||||||
status: completed
|
status: completed
|
||||||
type: function_call
|
type: function_call
|
||||||
|
OutputFusionServerToolItem:
|
||||||
|
description: An openrouter:fusion server tool output item
|
||||||
|
example:
|
||||||
|
id: st_tmp_abc123
|
||||||
|
status: completed
|
||||||
|
type: openrouter:fusion
|
||||||
|
properties:
|
||||||
|
analysis:
|
||||||
|
description: Structured analysis produced by the fusion judge model.
|
||||||
|
properties:
|
||||||
|
blind_spots:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
consensus:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
contradictions:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
stances:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
model:
|
||||||
|
type: string
|
||||||
|
stance:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- model
|
||||||
|
- stance
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
topic:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- topic
|
||||||
|
- stances
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
partial_coverage:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
models:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
point:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- models
|
||||||
|
- point
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
unique_insights:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
insight:
|
||||||
|
type: string
|
||||||
|
model:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- model
|
||||||
|
- insight
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- consensus
|
||||||
|
- contradictions
|
||||||
|
- partial_coverage
|
||||||
|
- unique_insights
|
||||||
|
- blind_spots
|
||||||
|
type: object
|
||||||
|
error:
|
||||||
|
description: Error message when the fusion run did not produce an analysis result.
|
||||||
|
type: string
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
responses:
|
||||||
|
description: Slugs of the analysis models that produced a response in this fusion run.
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
model:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- model
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
status:
|
||||||
|
$ref: '#/components/schemas/ToolCallStatus'
|
||||||
|
type:
|
||||||
|
enum:
|
||||||
|
- openrouter:fusion
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- status
|
||||||
|
- type
|
||||||
|
type: object
|
||||||
OutputImageGenerationCallItem:
|
OutputImageGenerationCallItem:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/OutputItemImageGenerationCall'
|
- $ref: '#/components/schemas/OutputItemImageGenerationCall'
|
||||||
@@ -10903,6 +11044,7 @@ components:
|
|||||||
openrouter:datetime: '#/components/schemas/OutputDatetimeItem'
|
openrouter:datetime: '#/components/schemas/OutputDatetimeItem'
|
||||||
openrouter:experimental__search_models: '#/components/schemas/OutputSearchModelsServerToolItem'
|
openrouter:experimental__search_models: '#/components/schemas/OutputSearchModelsServerToolItem'
|
||||||
openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem'
|
openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem'
|
||||||
|
openrouter:fusion: '#/components/schemas/OutputFusionServerToolItem'
|
||||||
openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
|
openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
|
||||||
openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
|
openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
|
||||||
openrouter:memory: '#/components/schemas/OutputMemoryServerToolItem'
|
openrouter:memory: '#/components/schemas/OutputMemoryServerToolItem'
|
||||||
@@ -10944,6 +11086,7 @@ components:
|
|||||||
- $ref: '#/components/schemas/OutputMemoryServerToolItem'
|
- $ref: '#/components/schemas/OutputMemoryServerToolItem'
|
||||||
- $ref: '#/components/schemas/OutputMcpServerToolItem'
|
- $ref: '#/components/schemas/OutputMcpServerToolItem'
|
||||||
- $ref: '#/components/schemas/OutputSearchModelsServerToolItem'
|
- $ref: '#/components/schemas/OutputSearchModelsServerToolItem'
|
||||||
|
- $ref: '#/components/schemas/OutputFusionServerToolItem'
|
||||||
- $ref: '#/components/schemas/OutputCustomToolCallItem'
|
- $ref: '#/components/schemas/OutputCustomToolCallItem'
|
||||||
OutputItemWebSearchCall:
|
OutputItemWebSearchCall:
|
||||||
example:
|
example:
|
||||||
@@ -13475,6 +13618,7 @@ components:
|
|||||||
auto-router: '#/components/schemas/AutoRouterPlugin'
|
auto-router: '#/components/schemas/AutoRouterPlugin'
|
||||||
context-compression: '#/components/schemas/ContextCompressionPlugin'
|
context-compression: '#/components/schemas/ContextCompressionPlugin'
|
||||||
file-parser: '#/components/schemas/FileParserPlugin'
|
file-parser: '#/components/schemas/FileParserPlugin'
|
||||||
|
fusion: '#/components/schemas/FusionPlugin'
|
||||||
moderation: '#/components/schemas/ModerationPlugin'
|
moderation: '#/components/schemas/ModerationPlugin'
|
||||||
pareto-router: '#/components/schemas/ParetoRouterPlugin'
|
pareto-router: '#/components/schemas/ParetoRouterPlugin'
|
||||||
response-healing: '#/components/schemas/ResponseHealingPlugin'
|
response-healing: '#/components/schemas/ResponseHealingPlugin'
|
||||||
@@ -13488,6 +13632,7 @@ components:
|
|||||||
- $ref: '#/components/schemas/ResponseHealingPlugin'
|
- $ref: '#/components/schemas/ResponseHealingPlugin'
|
||||||
- $ref: '#/components/schemas/ContextCompressionPlugin'
|
- $ref: '#/components/schemas/ContextCompressionPlugin'
|
||||||
- $ref: '#/components/schemas/ParetoRouterPlugin'
|
- $ref: '#/components/schemas/ParetoRouterPlugin'
|
||||||
|
- $ref: '#/components/schemas/FusionPlugin'
|
||||||
type: array
|
type: array
|
||||||
presence_penalty:
|
presence_penalty:
|
||||||
format: double
|
format: double
|
||||||
@@ -13661,6 +13806,7 @@ components:
|
|||||||
- fallback
|
- fallback
|
||||||
- pareto
|
- pareto
|
||||||
- bodybuilder
|
- bodybuilder
|
||||||
|
- fusion
|
||||||
example: direct
|
example: direct
|
||||||
type: string
|
type: string
|
||||||
SearchContextSizeEnum:
|
SearchContextSizeEnum:
|
||||||
|
|||||||
Reference in New Issue
Block a user