Render Markdown, add ask_human context, simplify inbox responses, group inbox by task
This commit is contained in:
+5
-5
@@ -426,7 +426,7 @@ components:
|
||||
|
||||
InboxState:
|
||||
type: string
|
||||
enum: [open, answered, redirected, dismissed, superseded]
|
||||
enum: [open, answered, dismissed, superseded]
|
||||
|
||||
InboxItem:
|
||||
type: object
|
||||
@@ -443,8 +443,8 @@ components:
|
||||
payload:
|
||||
type: object
|
||||
description: >
|
||||
question: question, why_blocked, options, recommended_option, attachments.
|
||||
report: done, open_questions, next_steps, risks, deviations.
|
||||
question: context, question, why_blocked, options, recommended_option, attachments.
|
||||
report: done, next_steps, risks, deviations.
|
||||
session_error: error.
|
||||
rate_limited: vendor, rate_limit (the vendor's rate-limit status), error.
|
||||
state: { $ref: "#/components/schemas/InboxState" }
|
||||
@@ -458,7 +458,7 @@ components:
|
||||
|
||||
InboxResponseType:
|
||||
type: string
|
||||
enum: [option, free_form, redirect, question, snooze, dismiss]
|
||||
enum: [option, other, snooze, dismiss]
|
||||
|
||||
InboxResponse:
|
||||
type: object
|
||||
@@ -484,7 +484,7 @@ components:
|
||||
item_id: { type: string }
|
||||
type: { $ref: "#/components/schemas/InboxResponseType" }
|
||||
option: { type: string, description: "option: one of the question's options." }
|
||||
text: { type: string, description: "Required for free_form, redirect, question; an optional note on option." }
|
||||
text: { type: string, description: "other: the text sent to the agent." }
|
||||
attachments:
|
||||
type: array
|
||||
items: { $ref: "#/components/schemas/Attachment" }
|
||||
|
||||
Reference in New Issue
Block a user