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 (#263)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
5d441447a9
commit
460658428f
@@ -591,6 +591,7 @@ components:
|
||||
- end_page_number
|
||||
type: object
|
||||
AnthropicCitationsConfig:
|
||||
default: null
|
||||
example:
|
||||
enabled: true
|
||||
nullable: true
|
||||
@@ -892,7 +893,6 @@ components:
|
||||
- document
|
||||
type: string
|
||||
required:
|
||||
- citations
|
||||
- source
|
||||
- title
|
||||
- type
|
||||
@@ -4593,6 +4593,20 @@ components:
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
ChatServerToolChoice:
|
||||
description: >-
|
||||
OpenRouter extension: force a specific server tool by naming it directly in `tool_choice.type` instead of
|
||||
wrapping it in `{ type: "function", function: { name } }`.
|
||||
example:
|
||||
type: openrouter:web_search
|
||||
properties:
|
||||
type:
|
||||
description: OpenRouter server-tool type to force (e.g. `openrouter:web_search`, `web_search`, `web_search_preview`).
|
||||
example: openrouter:web_search
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
ChatStreamChoice:
|
||||
description: Streaming completion choice chunk
|
||||
example:
|
||||
@@ -4957,6 +4971,7 @@ components:
|
||||
- required
|
||||
type: string
|
||||
- $ref: '#/components/schemas/ChatNamedToolChoice'
|
||||
- $ref: '#/components/schemas/ChatServerToolChoice'
|
||||
description: Tool choice configuration
|
||||
example: auto
|
||||
ChatToolMessage:
|
||||
|
||||
Reference in New Issue
Block a user