Accept pasted images in inbox Other and Reply answers

This commit is contained in:
Ian Gulliver
2026-10-16 22:49:06 -07:00
parent a9bec7a7ea
commit ea90178fce
19 changed files with 579 additions and 469 deletions
+10 -2
View File
@@ -1491,7 +1491,7 @@ components:
InboxResponse:
type: object
required: [id, item_id, user, type, attachments, created_at]
required: [id, item_id, user, type, images, attachments, created_at]
properties:
id: { type: string }
item_id: { type: string }
@@ -1501,6 +1501,10 @@ components:
type: array
items: { type: string }
text: { type: string }
images:
type: array
items: { type: string }
description: Blob ids sent to the agent as images alongside the response.
attachments:
type: array
items: { $ref: "#/components/schemas/Attachment" }
@@ -1517,7 +1521,11 @@ components:
type: array
items: { type: string }
description: "option: the chosen options; exactly one for a pick-one question, one or more for a pick-any question."
text: { type: string, description: "other: the text sent to the agent. option on a pick-any question: optional text sent along with the checked options." }
text: { type: string, description: "other: the text sent to the agent, which may be empty when images are given. option on a pick-any question: optional text sent along with the checked options." }
images:
type: array
items: { type: string }
description: "other, or option on a pick-any question: blob ids from uploadBlob, sent to the agent as images alongside the response."
attachments:
type: array
items: { $ref: "#/components/schemas/Attachment" }