Skip to content

Improve tool output readability#128

Merged
CrazyBoyM merged 1 commit intoshareAI-lab:mainfrom
jimpablo:improve-output-format
Mar 29, 2026
Merged

Improve tool output readability#128
CrazyBoyM merged 1 commit intoshareAI-lab:mainfrom
jimpablo:improve-output-format

Conversation

@jimpablo
Copy link
Copy Markdown
Contributor

Separate tool name and output for better readability.

Before:

read_file: anthropic>=0.25.0
python-dotenv>=1.0.0

After:

read_file:
anthropic>=0.25.0
python-dotenv>=1.0.0

Separate tool name and output for better readability.

Before:
> read_file: anthropic>=0.25.0
python-dotenv>=1.0.0

After:
> read_file:
anthropic>=0.25.0
python-dotenv>=1.0.0
Copilot AI review requested due to automatic review settings March 24, 2026 13:48
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

@jimpablo is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the CLI readability of tool execution logs in the s02_tool_use agent by printing the tool name and its output preview on separate lines.

Changes:

  • Split tool log printing into two print() calls: one for the tool name header, one for the output preview.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@CrazyBoyM CrazyBoyM merged commit 86f7ac1 into shareAI-lab:main Mar 29, 2026
3 of 6 checks passed
CrazyBoyM added a commit that referenced this pull request Mar 29, 2026
CrazyBoyM added a commit that referenced this pull request Mar 29, 2026
CrazyBoyM added a commit that referenced this pull request Mar 29, 2026
Extends the readability fix from PR #128 (s02) to all remaining sessions.
Tool name and output are now on separate lines, consistent with s01's
existing pattern and improving readability for multi-line tool output.
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.

3 participants