diff options
| author | Melih Mucuk <[email protected]> | 2026-01-05 22:06:57 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-05 13:06:57 -0600 |
| commit | a38e1701ee88bb3f69f920a8c83d0fba07b34c24 (patch) | |
| tree | 02321bfc8b497f60b1e95fc194b44f913f917928 /packages/sdk/openapi.json | |
| parent | bf9ee32d4a560d21dd089ea220b72dd43f4d25c6 (diff) | |
| download | opencode-a38e1701ee88bb3f69f920a8c83d0fba07b34c24.tar.gz opencode-a38e1701ee88bb3f69f920a8c83d0fba07b34c24.zip | |
fix: pass image parts to custom commands (#6525)
Co-authored-by: Melih Mucuk <[email protected]>
Diffstat (limited to 'packages/sdk/openapi.json')
| -rw-r--r-- | packages/sdk/openapi.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 3e7bd5e08..a32be164c 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -2667,6 +2667,38 @@ }, "variant": { "type": "string" + }, + "parts": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string", + "const": "file" + }, + "mime": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "url": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/FilePartSource" + } + }, + "required": ["type", "mime", "url"] + } + ] + } } }, "required": ["arguments", "command"] |
