Show turn summaries only in the transcript, not as inbox reports
This commit is contained in:
@@ -211,12 +211,6 @@ function card(item: InboxItem): HTMLElement {
|
||||
|
||||
const renderActions = () => {
|
||||
switch (item.kind) {
|
||||
case "report": {
|
||||
const ok = h("button", { type: "button", class: "primary" }, "OK");
|
||||
ok.onclick = () => void submit({ item_id: item.id, type: "dismiss" });
|
||||
replace(actions, h("div", { class: "ack" }, ok));
|
||||
return;
|
||||
}
|
||||
case "question": {
|
||||
const placeholder = "Your answer, a question back, or new instructions";
|
||||
if (!multiple) {
|
||||
@@ -262,9 +256,6 @@ function card(item: InboxItem): HTMLElement {
|
||||
attachments((p["attachments"] as Attachment[] | undefined) ?? [], item.task_id),
|
||||
);
|
||||
break;
|
||||
case "report":
|
||||
replace(body, markdown(String(p["text"] ?? ""), "md summary", { taskId: item.task_id }));
|
||||
break;
|
||||
case "session_error":
|
||||
replace(body, h("p", { class: "error-text" }, String(p["error"])));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user