diff options
| author | Adam Malczewski <[email protected]> | 2026-03-28 05:15:49 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-28 05:15:49 +0900 |
| commit | ff4fd494811d326986cfe0305f35b89e37dd493c (patch) | |
| tree | 947209f20098279b1b334db653300f1e3bb43aa6 /src/chat-view.ts | |
| parent | be2dee39e5bf907dfdd3462817203a08cf3c345f (diff) | |
| download | ai-pulse-obsidian-plugin-ff4fd494811d326986cfe0305f35b89e37dd493c.tar.gz ai-pulse-obsidian-plugin-ff4fd494811d326986cfe0305f35b89e37dd493c.zip | |
no=op validation, and red tool error messages
Diffstat (limited to 'src/chat-view.ts')
| -rw-r--r-- | src/chat-view.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
