Skip to content

Conversation

pexa-tday
Copy link

@pexa-tday pexa-tday commented May 29, 2025

Description

This PR adds a missing newline character after the directory depth message in the fs_read tool's output formatting. The change improves readability by ensuring proper line breaks between the depth information and subsequent directory content listings.

Changes

  • Modified the queue_description method in the FsDirectory struct to include a newline character at the end of the depth message output

Before:
Reading directory: /amazon-q-developer-cli/crates/cli/src/cli/chat/tools with maximum depth of 0Reading: crates/cli/src/cli/chat/tools

After:
Reading directory: /amazon-q-developer-cli/crates/cli/src/cli/chat/tools with maximum depth of 0
Reading: crates/cli/src/cli/chat/tools

Testing

Verified that the output now correctly displays with proper line breaks when using the fs_read tool in directory mode with depth parameter.

Related Issues

N/A

@pexa-tday pexa-tday requested a review from a team as a code owner May 29, 2025 03:15
@sriram-mv
Copy link
Contributor

Someone got to it before me, this has been on my todo list for a while.

@pexa-tday
Copy link
Author

resolved

@pexa-tday pexa-tday closed this Jun 19, 2025
@pexa-tday pexa-tday deleted the fix-fs-read-directory-output-formatting branch June 19, 2025 01:00
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