From 9cb758398c0a240d4654c983482bffbe14343788 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Wed, 16 Sep 2026 16:49:26 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 6e7a9397..8ebc68f1 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -19215,6 +19215,9 @@ components: container_id: description: 'The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed.' type: 'string' + error: + description: 'The error message when the sandbox call failed before producing a result (for example, the per-user container limit was reached). Set together with `status: ''failed''`; absent on a successful call. A non-zero `exitCode` is a command failure, not a tool failure.' + type: 'string' exitCode: type: 'integer' files: @@ -19247,7 +19250,7 @@ components: id: type: 'string' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' stderr: type: 'string' stdout: @@ -20443,7 +20446,7 @@ components: - 'status' type: 'object' OutputShellCallOutputItem: - description: 'A native `shell_call_output` item matching OpenAI''s Responses API shape. Carries per-command stdout, stderr, and the exit/timeout outcome.' + description: 'A native `shell_call_output` item matching OpenAI''s Responses API shape. Carries per-command stdout, stderr, and the exit/timeout outcome. A sandbox failure terminates the item as `incomplete` with `error` set.' example: call_id: 'call_abc123' id: 'sho_abc123' @@ -20461,6 +20464,9 @@ components: container_id: description: 'The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed.' type: 'string' + error: + description: 'The error message when the sandbox call failed before producing a result (for example, the per-user container limit was reached). Set together with `status: ''incomplete''` and an empty `output`; absent on a successful call.' + type: 'string' files: description: 'Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API.' items: @@ -20560,6 +20566,9 @@ components: container_id: description: 'The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed.' type: 'string' + error: + description: 'The error message when the sandbox call failed before producing a result (for example, the per-user container limit was reached). Set together with `status: ''failed''`; absent on a successful call. `output` is omitted when `error` is set.' + type: 'string' files: description: 'Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API.' items: @@ -20594,7 +20603,7 @@ components: $ref: '#/components/schemas/ShellCallOutputContent' type: 'array' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' type: enum: - 'openrouter:shell' @@ -24267,6 +24276,9 @@ components: container_id: description: 'The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed.' type: 'string' + error: + description: 'The error message when the sandbox call failed before producing a result, as echoed from a failed `shell_call_output` emission.' + type: 'string' files: description: 'Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API.' items: