From ff4fd494811d326986cfe0305f35b89e37dd493c Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sat, 28 Mar 2026 05:15:49 +0900 Subject: no=op validation, and red tool error messages --- src/chat-view.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/chat-view.ts') diff --git a/src/chat-view.ts b/src/chat-view.ts index 7c7f110..b673d26 100644 --- a/src/chat-view.ts +++ b/src/chat-view.ts @@ -440,6 +440,11 @@ export class ChatView extends ItemView { header.createSpan({ text: event.friendlyName, cls: "ai-pulse-tool-call-name" }); container.createDiv({ text: event.summary, cls: "ai-pulse-tool-call-summary" }); + const isError = event.result.startsWith("Error"); + if (isError) { + container.addClass("ai-pulse-tool-call-error"); + } + container.createDiv({ text: event.resultSummary, cls: "ai-pulse-tool-call-result-summary" }); // DaisyUI-style collapse with checkbox -- cgit v1.2.3