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 (#425)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
d78ff13303
commit
83c16a17c6
@@ -359,6 +359,72 @@ components:
|
||||
$ref: '#/components/schemas/AdvisorNestedTool'
|
||||
type: array
|
||||
type: object
|
||||
AgentMessageItem:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
description: A message routed between agents in a multi-agent session
|
||||
example:
|
||||
author: /root/worker
|
||||
content:
|
||||
- text: Task complete.
|
||||
type: input_text
|
||||
recipient: /root
|
||||
type: agent_message
|
||||
properties:
|
||||
agent:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
nullable: true
|
||||
properties:
|
||||
agent_name:
|
||||
type: string
|
||||
required:
|
||||
- agent_name
|
||||
type: object
|
||||
author:
|
||||
type: string
|
||||
content:
|
||||
items:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/InputText'
|
||||
- allOf:
|
||||
- $ref: '#/components/schemas/InputImage'
|
||||
- properties: {}
|
||||
type: object
|
||||
description: Image input content item
|
||||
example:
|
||||
detail: auto
|
||||
image_url: https://example.com/image.jpg
|
||||
type: input_image
|
||||
- additionalProperties:
|
||||
nullable: true
|
||||
properties:
|
||||
encrypted_content:
|
||||
type: string
|
||||
type:
|
||||
enum:
|
||||
- encrypted_content
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- encrypted_content
|
||||
type: object
|
||||
type: array
|
||||
id:
|
||||
nullable: true
|
||||
type: string
|
||||
recipient:
|
||||
type: string
|
||||
type:
|
||||
enum:
|
||||
- agent_message
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- author
|
||||
- recipient
|
||||
- content
|
||||
type: object
|
||||
AnnotationAddedEvent:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/BaseAnnotationAddedEvent'
|
||||
@@ -5874,6 +5940,8 @@ components:
|
||||
- type
|
||||
type: object
|
||||
CompactionItem:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
description: A context compaction marker with encrypted summary
|
||||
example:
|
||||
encrypted_content: enc_abc123...
|
||||
@@ -6321,6 +6389,27 @@ components:
|
||||
- type
|
||||
- video_url
|
||||
type: object
|
||||
ContextCompactionItem:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
description: A context compaction marker with an optional encrypted summary
|
||||
example:
|
||||
encrypted_content: enc_abc123...
|
||||
type: context_compaction
|
||||
properties:
|
||||
encrypted_content:
|
||||
nullable: true
|
||||
type: string
|
||||
id:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
enum:
|
||||
- context_compaction
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
ContextCompressionEngine:
|
||||
description: The compression engine to use. Defaults to "middle-out".
|
||||
enum:
|
||||
@@ -10486,8 +10575,10 @@ components:
|
||||
- $ref: '#/components/schemas/CustomToolCallItem'
|
||||
- $ref: '#/components/schemas/CustomToolCallOutputItem'
|
||||
- $ref: '#/components/schemas/CompactionItem'
|
||||
- $ref: '#/components/schemas/ContextCompactionItem'
|
||||
- $ref: '#/components/schemas/ItemReferenceItem'
|
||||
- $ref: '#/components/schemas/AdditionalToolsItem'
|
||||
- $ref: '#/components/schemas/AgentMessageItem'
|
||||
type: array
|
||||
description: Input for a response request - can be a string or array of items
|
||||
example:
|
||||
|
||||
Reference in New Issue
Block a user