Skip to content

Commit 34d372b

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#682)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 851550e commit 34d372b

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8053,6 +8053,14 @@ components:
80538053
param: null
80548054
sequence_number: 2
80558055
type: 'error'
8056+
FailableToolCallStatus:
8057+
enum:
8058+
- 'in_progress'
8059+
- 'completed'
8060+
- 'incomplete'
8061+
- 'failed'
8062+
example: 'completed'
8063+
type: 'string'
80568064
FailedEvent:
80578065
description: 'Event emitted when a response has failed'
80588066
example:
@@ -18046,7 +18054,7 @@ components:
1804618054
description: 'The advisor model''s response (the advice text returned to the executor).'
1804718055
type: 'string'
1804818056
error:
18049-
description: 'Error message when the advisor call did not produce advice.'
18057+
description: 'Error message when the advisor call did not produce advice. Set together with `status: ''failed''` on the terminal item.'
1805018058
type: 'string'
1805118059
id:
1805218060
type: 'string'
@@ -18061,7 +18069,7 @@ components:
1806118069
description: 'The prompt the executor sent to the advisor.'
1806218070
type: 'string'
1806318071
status:
18064-
$ref: '#/components/schemas/ToolCallStatus'
18072+
$ref: '#/components/schemas/FailableToolCallStatus'
1806518073
type:
1806618074
enum:
1806718075
- 'openrouter:advisor'
@@ -19437,7 +19445,7 @@ components:
1943719445
description: 'EXPERIMENTAL — subject to change without notice. The `call_id` of the tool call that spawned this subagent. This id will also be included as the `subagent_id` on any `function_call` items created by the subagent. This must be returned in the request so the `function_call` can be matched with the correct subagent. A suspended `in_progress` item is announced once and never re-emitted or terminally closed — completion arrives as a new item with the same `call_id`.'
1943819446
type: 'string'
1943919447
error:
19440-
description: 'Error message when the subagent task did not produce an outcome.'
19448+
description: 'Error message when the subagent task did not produce an outcome. Set together with `status: ''failed''` on the terminal item.'
1944119449
type: 'string'
1944219450
id:
1944319451
type: 'string'
@@ -19456,7 +19464,7 @@ components:
1945619464
description: 'The worker model''s result (the outcome text returned to the delegating model).'
1945719465
type: 'string'
1945819466
status:
19459-
$ref: '#/components/schemas/ToolCallStatus'
19467+
$ref: '#/components/schemas/FailableToolCallStatus'
1946019468
task_description:
1946119469
description: 'The task description the delegating model sent to the worker.'
1946219470
type: 'string'

0 commit comments

Comments
 (0)