diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-02-12 04:55:00 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-02-12 04:55:00 +0000 |
| commit | f6e7aefa728585832b6ac737c0fb2bc97461dc16 (patch) | |
| tree | c05d39a142148cb677b63002acd5ec81828a2c1e /packages/sdk | |
| parent | e269788a8feb987a579b8700726dd8b02bf2e7f1 (diff) | |
| download | opencode-f6e7aefa728585832b6ac737c0fb2bc97461dc16.tar.gz opencode-f6e7aefa728585832b6ac737c0fb2bc97461dc16.zip | |
chore: generate
Diffstat (limited to 'packages/sdk')
| -rw-r--r-- | packages/sdk/openapi.json | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index ce2f2e7d1..5b79514ab 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -2420,6 +2420,9 @@ "type": "boolean" } }, + "format": { + "$ref": "#/components/schemas/OutputFormat" + }, "system": { "type": "string" }, @@ -2796,6 +2799,9 @@ "type": "boolean" } }, + "format": { + "$ref": "#/components/schemas/OutputFormat" + }, "system": { "type": "string" }, @@ -6073,6 +6079,52 @@ }, "required": ["type", "properties"] }, + "OutputFormatText": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "text" + } + }, + "required": ["type"] + }, + "JSONSchema": { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + }, + "OutputFormatJsonSchema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "json_schema" + }, + "schema": { + "$ref": "#/components/schemas/JSONSchema" + }, + "retryCount": { + "default": 2, + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": ["type", "schema"] + }, + "OutputFormat": { + "anyOf": [ + { + "$ref": "#/components/schemas/OutputFormatText" + }, + { + "$ref": "#/components/schemas/OutputFormatJsonSchema" + } + ] + }, "FileDiff": { "type": "object", "properties": { @@ -6120,6 +6172,9 @@ }, "required": ["created"] }, + "format": { + "$ref": "#/components/schemas/OutputFormat" + }, "summary": { "type": "object", "properties": { @@ -6245,6 +6300,28 @@ }, "required": ["name", "data"] }, + "StructuredOutputError": { + "type": "object", + "properties": { + "name": { + "type": "string", + "const": "StructuredOutputError" + }, + "data": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "retries": { + "type": "number" + } + }, + "required": ["message", "retries"] + } + }, + "required": ["name", "data"] + }, "ContextOverflowError": { "type": "object", "properties": { @@ -6353,6 +6430,9 @@ "$ref": "#/components/schemas/MessageAbortedError" }, { + "$ref": "#/components/schemas/StructuredOutputError" + }, + { "$ref": "#/components/schemas/ContextOverflowError" }, { @@ -6423,6 +6503,7 @@ }, "required": ["input", "output", "reasoning", "cache"] }, + "structured": {}, "variant": { "type": "string" }, @@ -8129,6 +8210,9 @@ "$ref": "#/components/schemas/MessageAbortedError" }, { + "$ref": "#/components/schemas/StructuredOutputError" + }, + { "$ref": "#/components/schemas/ContextOverflowError" }, { |
