Fix read/write tool output formatting
- Remove code fences (```) from read output - show raw content - Show first 10 lines instead of 5 for read - Only show line count for write if > 10 lines - Remove indentation from read output - Cleaner, more minimal tool output display
This commit is contained in:
@@ -1,4 +1,30 @@
|
||||
Hello, World!
|
||||
This line has been edited!
|
||||
This is line three.
|
||||
Goodbye, World!
|
||||
The Quick Brown Fox and the Lazy Dog
|
||||
=====================================
|
||||
|
||||
Once upon a time, in a forest clearing, there lived a remarkably quick brown fox.
|
||||
This fox was known throughout the woodland for its incredible speed and agility.
|
||||
|
||||
Every morning, the fox would race through the trees, leaping over logs and streams.
|
||||
The other animals watched in awe as it darted past them in a blur of russet fur.
|
||||
|
||||
Near the edge of the clearing, there also lived a very lazy dog.
|
||||
This dog preferred napping in the warm sunshine to any sort of adventure.
|
||||
|
||||
One day, the fox challenged the dog to a race across the meadow.
|
||||
The dog yawned and declined, saying "Why rush when you can rest?"
|
||||
|
||||
The fox laughed and zipped away, exploring distant hills and valleys.
|
||||
The dog simply rolled over and continued its peaceful slumber.
|
||||
|
||||
As the sun set, the fox returned, exhausted from its day of running.
|
||||
The dog opened one eye and wagged its tail contentedly.
|
||||
|
||||
"I've seen the whole world today!" exclaimed the tired fox proudly.
|
||||
"And I've enjoyed every moment right here," replied the lazy dog.
|
||||
|
||||
Sometimes speed and adventure bring joy to life's journey.
|
||||
Other times, stillness and contentment are the greatest treasures.
|
||||
|
||||
Both the quick fox and the lazy dog lived happily in their own ways.
|
||||
|
||||
The End.
|
||||
|
||||
Reference in New Issue
Block a user