Collapse read output by default

closes #4916
This commit is contained in:
Mario Zechner
2026-05-23 11:40:54 +02:00
parent 8100046cb8
commit 373bd1282e
3 changed files with 30 additions and 2 deletions

View File

@@ -170,10 +170,10 @@ function formatReadResult(
options: ToolRenderResultOptions,
theme: Theme,
showImages: boolean,
cwd: string,
_cwd: string,
isError: boolean,
): string {
if (!options.expanded && !isError && getCompactReadClassification(args, cwd)) {
if (!options.expanded && !isError) {
return "";
}