Skip to content

Commit 9636cf7

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1228)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 8aaab17 commit 9636cf7

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@ components:
645645
mapping:
646646
apply_patch_call: '#/components/schemas/OutputItemApplyPatchCall'
647647
code_interpreter_call: '#/components/schemas/OutputItemCodeInterpreterCall'
648+
compaction: '#/components/schemas/OutputItemCompaction'
648649
custom_tool_call: '#/components/schemas/OutputItemCustomToolCall'
649650
file_search_call: '#/components/schemas/OutputItemFileSearchCall'
650651
function_call: '#/components/schemas/OutputItemFunctionCall'
@@ -663,6 +664,7 @@ components:
663664
- $ref: '#/components/schemas/OutputItemImageGenerationCall'
664665
- $ref: '#/components/schemas/OutputItemApplyPatchCall'
665666
- $ref: '#/components/schemas/OutputItemCodeInterpreterCall'
667+
- $ref: '#/components/schemas/OutputItemCompaction'
666668
type: 'array'
667669
AlignmentRule:
668670
additionalProperties: false
@@ -4809,6 +4811,7 @@ components:
48094811
mapping:
48104812
apply_patch_call: '#/components/schemas/OutputItemApplyPatchCall'
48114813
code_interpreter_call: '#/components/schemas/OutputItemCodeInterpreterCall'
4814+
compaction: '#/components/schemas/OutputItemCompaction'
48124815
custom_tool_call: '#/components/schemas/OutputItemCustomToolCall'
48134816
file_search_call: '#/components/schemas/OutputItemFileSearchCall'
48144817
function_call: '#/components/schemas/OutputItemFunctionCall'
@@ -4827,6 +4830,7 @@ components:
48274830
- $ref: '#/components/schemas/OutputItemImageGenerationCall'
48284831
- $ref: '#/components/schemas/OutputItemApplyPatchCall'
48294832
- $ref: '#/components/schemas/OutputItemCodeInterpreterCall'
4833+
- $ref: '#/components/schemas/OutputItemCompaction'
48304834
type: 'array'
48314835
output_text:
48324836
type: 'string'
@@ -9087,6 +9091,18 @@ components:
90879091
- 'type'
90889092
- 'encrypted_content'
90899093
type: 'object'
9094+
CompactionTriggerItem:
9095+
description: 'Asks the model to compact the preceding input into a compaction item'
9096+
example:
9097+
type: 'compaction_trigger'
9098+
properties:
9099+
type:
9100+
enum:
9101+
- 'compaction_trigger'
9102+
type: 'string'
9103+
required:
9104+
- 'type'
9105+
type: 'object'
90909106
CompletedEvent:
90919107
description: 'Event emitted when a response has completed successfully'
90929108
example:
@@ -16291,6 +16307,7 @@ components:
1629116307
- $ref: '#/components/schemas/McpCallItem'
1629216308
- $ref: '#/components/schemas/CustomToolCallItem'
1629316309
- $ref: '#/components/schemas/CustomToolCallOutputItem'
16310+
- $ref: '#/components/schemas/CompactionTriggerItem'
1629416311
- $ref: '#/components/schemas/CompactionItem'
1629516312
- $ref: '#/components/schemas/ContextCompactionItem'
1629616313
- $ref: '#/components/schemas/ItemReferenceItem'
@@ -24514,6 +24531,28 @@ components:
2451424531
- 'status'
2451524532
- 'type'
2451624533
type: 'object'
24534+
OutputCompactionItem:
24535+
description: 'A compaction output item carrying the encrypted summary of the compacted conversation. Emitted in reply to a `compaction_trigger` input item.'
24536+
example:
24537+
encrypted_content: 'enc_abc123...'
24538+
id: 'cmp_abc123'
24539+
type: 'compaction'
24540+
properties:
24541+
created_by:
24542+
type: 'string'
24543+
encrypted_content:
24544+
type: 'string'
24545+
id:
24546+
type: 'string'
24547+
type:
24548+
enum:
24549+
- 'compaction'
24550+
type: 'string'
24551+
required:
24552+
- 'type'
24553+
- 'id'
24554+
- 'encrypted_content'
24555+
type: 'object'
2451724556
OutputComputerCallItem:
2451824557
example:
2451924558
action:
@@ -24876,6 +24915,7 @@ components:
2487624915
mapping:
2487724916
apply_patch_call: '#/components/schemas/OutputItemApplyPatchCall'
2487824917
code_interpreter_call: '#/components/schemas/OutputItemCodeInterpreterCall'
24918+
compaction: '#/components/schemas/OutputItemCompaction'
2487924919
custom_tool_call: '#/components/schemas/OutputItemCustomToolCall'
2488024920
file_search_call: '#/components/schemas/OutputItemFileSearchCall'
2488124921
function_call: '#/components/schemas/OutputItemFunctionCall'
@@ -24894,6 +24934,7 @@ components:
2489424934
- $ref: '#/components/schemas/OutputItemImageGenerationCall'
2489524935
- $ref: '#/components/schemas/OutputItemApplyPatchCall'
2489624936
- $ref: '#/components/schemas/OutputItemCodeInterpreterCall'
24937+
- $ref: '#/components/schemas/OutputItemCompaction'
2489724938
output_index:
2489824939
type: 'integer'
2489924940
sequence_number:
@@ -25003,6 +25044,27 @@ components:
2500325044
- 'id'
2500425045
- 'status'
2500525046
type: 'object'
25047+
OutputItemCompaction:
25048+
example:
25049+
encrypted_content: 'enc_abc123...'
25050+
id: 'cmp_abc123'
25051+
type: 'compaction'
25052+
properties:
25053+
created_by:
25054+
type: 'string'
25055+
encrypted_content:
25056+
type: 'string'
25057+
id:
25058+
type: 'string'
25059+
type:
25060+
enum:
25061+
- 'compaction'
25062+
type: 'string'
25063+
required:
25064+
- 'type'
25065+
- 'id'
25066+
- 'encrypted_content'
25067+
type: 'object'
2500625068
OutputItemCustomToolCall:
2500725069
example:
2500825070
call_id: 'call-abc123'
@@ -25064,6 +25126,7 @@ components:
2506425126
mapping:
2506525127
apply_patch_call: '#/components/schemas/OutputItemApplyPatchCall'
2506625128
code_interpreter_call: '#/components/schemas/OutputItemCodeInterpreterCall'
25129+
compaction: '#/components/schemas/OutputItemCompaction'
2506725130
custom_tool_call: '#/components/schemas/OutputItemCustomToolCall'
2506825131
file_search_call: '#/components/schemas/OutputItemFileSearchCall'
2506925132
function_call: '#/components/schemas/OutputItemFunctionCall'
@@ -25082,6 +25145,7 @@ components:
2508225145
- $ref: '#/components/schemas/OutputItemImageGenerationCall'
2508325146
- $ref: '#/components/schemas/OutputItemApplyPatchCall'
2508425147
- $ref: '#/components/schemas/OutputItemCodeInterpreterCall'
25148+
- $ref: '#/components/schemas/OutputItemCompaction'
2508525149
output_index:
2508625150
type: 'integer'
2508725151
sequence_number:
@@ -25240,6 +25304,7 @@ components:
2524025304
mapping:
2524125305
apply_patch_call: '#/components/schemas/OutputApplyPatchCallItem'
2524225306
code_interpreter_call: '#/components/schemas/OutputCodeInterpreterCallItem'
25307+
compaction: '#/components/schemas/OutputCompactionItem'
2524325308
computer_call: '#/components/schemas/OutputComputerCallItem'
2524425309
custom_tool_call: '#/components/schemas/OutputCustomToolCallItem'
2524525310
file_search_call: '#/components/schemas/OutputFileSearchCallItem'
@@ -25299,6 +25364,7 @@ components:
2529925364
- $ref: '#/components/schemas/OutputTextEditorServerToolItem'
2530025365
- $ref: '#/components/schemas/OutputApplyPatchServerToolItem'
2530125366
- $ref: '#/components/schemas/OutputApplyPatchCallItem'
25367+
- $ref: '#/components/schemas/OutputCompactionItem'
2530225368
- $ref: '#/components/schemas/OutputShellCallItem'
2530325369
- $ref: '#/components/schemas/OutputShellCallOutputItem'
2530425370
- $ref: '#/components/schemas/OutputShellServerToolItem'

0 commit comments

Comments
 (0)