Skip to content

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Jan 7, 2026

No description provided.

When tool call arguments are too long to fit on a single line, wrap them
across multiple lines with proper indentation aligned to the tool name badge.

Previously, long args would extend beyond the terminal width or display
incorrectly. Now they wrap cleanly with subsequent lines indented to align
with the start of the tool name.

Assisted-By: cagent
Pre-formatted tool args (key:value pairs) already have indentation from
ToolCallArgs styling. Skip adding additional indent in wrapTextWithIndent
when text starts with a newline to avoid doubling the indentation.

Assisted-By: cagent
When the tool result (e.g., line count or error message) doesn't fit in the
remaining space on the line, truncate it with an ellipsis instead of breaking
the layout. Applied to both RenderTool and readmultiplefiles component.

Assisted-By: cagent
@dgageot dgageot requested a review from a team as a code owner January 7, 2026 09:22
@dgageot dgageot merged commit 6e68e5a into docker:main Jan 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants