Render tool content and collapse tool output by default#228
Render tool content and collapse tool output by default#228nicholas-leonard wants to merge 1 commit intoRAIT-09:masterfrom
Conversation
|
@nicholas-leonard Adding support for the However, I'm not comfortable with collapsing diffs and terminal output by default. I understand the motivation — tool output can feel redundant when the assistant repeats it — but that behavior tends to depend on the model rather than the agent itself. It's also something that can be tuned via prompt files like AGENTS.md or system prompts, without changing the UI defaults for everyone. Could you update this PR to focus on the Thanks again for the contribution! |
Description
This PR improves tool-call output rendering in the Obsidian Agent Client UI and reduces duplicate visual noise in chat.
What changed
contentso text output from tools is rendered in the tool block.Why
When agents summarize tool output in their assistant message, users were seeing the same report twice (once in tool output and again in assistant text).
Collapsing tool output by default keeps chat readable while preserving full details on demand.
Related issue
N/A
Type of change
Checklist
npm run lintpasses ("Use sentence case for UI text" errors are acceptable for brand names)npm run buildpassesLint note: current branch still reports existing baseline sentence-case lint violations in unrelated files.
Testing environment
Screenshots
Default collapsed tool output:


Clip to open and see detailed tool output: