Skip to content

Commit 8ca678f

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent d78ff13 commit 8ca678f

1 file changed

Lines changed: 91 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,72 @@ components:
359359
$ref: '#/components/schemas/AdvisorNestedTool'
360360
type: array
361361
type: object
362+
AgentMessageItem:
363+
additionalProperties:
364+
nullable: true
365+
description: A message routed between agents in a multi-agent session
366+
example:
367+
author: /root/worker
368+
content:
369+
- text: Task complete.
370+
type: input_text
371+
recipient: /root
372+
type: agent_message
373+
properties:
374+
agent:
375+
additionalProperties:
376+
nullable: true
377+
nullable: true
378+
properties:
379+
agent_name:
380+
type: string
381+
required:
382+
- agent_name
383+
type: object
384+
author:
385+
type: string
386+
content:
387+
items:
388+
oneOf:
389+
- $ref: '#/components/schemas/InputText'
390+
- allOf:
391+
- $ref: '#/components/schemas/InputImage'
392+
- properties: {}
393+
type: object
394+
description: Image input content item
395+
example:
396+
detail: auto
397+
image_url: https://example.com/image.jpg
398+
type: input_image
399+
- additionalProperties:
400+
nullable: true
401+
properties:
402+
encrypted_content:
403+
type: string
404+
type:
405+
enum:
406+
- encrypted_content
407+
type: string
408+
required:
409+
- type
410+
- encrypted_content
411+
type: object
412+
type: array
413+
id:
414+
nullable: true
415+
type: string
416+
recipient:
417+
type: string
418+
type:
419+
enum:
420+
- agent_message
421+
type: string
422+
required:
423+
- type
424+
- author
425+
- recipient
426+
- content
427+
type: object
362428
AnnotationAddedEvent:
363429
allOf:
364430
- $ref: '#/components/schemas/BaseAnnotationAddedEvent'
@@ -5874,6 +5940,8 @@ components:
58745940
- type
58755941
type: object
58765942
CompactionItem:
5943+
additionalProperties:
5944+
nullable: true
58775945
description: A context compaction marker with encrypted summary
58785946
example:
58795947
encrypted_content: enc_abc123...
@@ -6321,6 +6389,27 @@ components:
63216389
- type
63226390
- video_url
63236391
type: object
6392+
ContextCompactionItem:
6393+
additionalProperties:
6394+
nullable: true
6395+
description: A context compaction marker with an optional encrypted summary
6396+
example:
6397+
encrypted_content: enc_abc123...
6398+
type: context_compaction
6399+
properties:
6400+
encrypted_content:
6401+
nullable: true
6402+
type: string
6403+
id:
6404+
nullable: true
6405+
type: string
6406+
type:
6407+
enum:
6408+
- context_compaction
6409+
type: string
6410+
required:
6411+
- type
6412+
type: object
63246413
ContextCompressionEngine:
63256414
description: The compression engine to use. Defaults to "middle-out".
63266415
enum:
@@ -10486,8 +10575,10 @@ components:
1048610575
- $ref: '#/components/schemas/CustomToolCallItem'
1048710576
- $ref: '#/components/schemas/CustomToolCallOutputItem'
1048810577
- $ref: '#/components/schemas/CompactionItem'
10578+
- $ref: '#/components/schemas/ContextCompactionItem'
1048910579
- $ref: '#/components/schemas/ItemReferenceItem'
1049010580
- $ref: '#/components/schemas/AdditionalToolsItem'
10581+
- $ref: '#/components/schemas/AgentMessageItem'
1049110582
type: array
1049210583
description: Input for a response request - can be a string or array of items
1049310584
example:

0 commit comments

Comments
 (0)