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 (#272)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
859e89d545
commit
67bd50597a
@@ -2266,6 +2266,7 @@ components:
|
||||
allowed_models:
|
||||
- anthropic/*
|
||||
- openai/gpt-4o
|
||||
cost_quality_tradeoff: 7
|
||||
enabled: true
|
||||
id: auto-router
|
||||
properties:
|
||||
@@ -2280,6 +2281,15 @@ components:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
cost_quality_tradeoff:
|
||||
description: >-
|
||||
Controls cost vs. quality routing tradeoff (0–10). 0 = pure quality (best model regardless of cost), 10 =
|
||||
maximize for cost (cheapest model wins). Intermediate values blend quality and cost signals continuously.
|
||||
Defaults to 7.
|
||||
example: 7
|
||||
maximum: 10
|
||||
minimum: 0
|
||||
type: integer
|
||||
enabled:
|
||||
description: Set to false to disable the auto-router plugin for this request. Defaults to true.
|
||||
type: boolean
|
||||
|
||||
Reference in New Issue
Block a user