Skip to content

docs: enhance terminal output limit description for clarity and token…#128

Merged
hannesrudolph merged 1 commit into
mainfrom
shellfix
Apr 12, 2025
Merged

docs: enhance terminal output limit description for clarity and token…#128
hannesrudolph merged 1 commit into
mainfrom
shellfix

Conversation

@hannesrudolph
Copy link
Copy Markdown
Collaborator

@hannesrudolph hannesrudolph commented Apr 12, 2025

… management


Important

Clarifies Terminal Output Limit behavior in shell-integration.md by specifying line retention strategy and purpose.

  • Documentation:
    • Updates Terminal Output Limit description in shell-integration.md to clarify behavior when limit is exceeded.
    • Specifies that 20% of the beginning and 80% of the end of the output are retained, with a truncation message in between.
    • Emphasizes prevention of excessive token usage while maintaining context.

This description was created by Ellipsis for 108ffa5. It will automatically update as commits are pushed.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 12, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
roo-code-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2025 0:56am

Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev Bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to 108ffa5 in 1 minute and 4 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. docs/features/shell-integration.md:35
  • Draft comment:
    The enhanced description for 'Terminal Output Limit' provides more detailed behavior (keeping 20% of the beginning and 80% of the end with a truncation message), which is great for clarity. However, this new line is immediately followed by another description stating that "lines are removed from the middle to save tokens," which may cause redundancy or confusion. Please consolidate these lines to present a single, consistent explanation that reflects the actual behavior.
  • Reason this comment was not posted:
    Marked as duplicate.

Workflow ID: wflow_q49bhAt3vcuyyy1r


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

#### Terminal Output Limit
<img src="/img/shell-integration/shell-integration.png" alt="Terminal output limit slider set to 500" width="600" />

Controls the maximum number of lines captured from terminal output. When exceeded, it keeps 20% of the beginning and 80% of the end with a truncation message in between. This prevents excessive token usage while maintaining context. Default: 500 lines.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Duplicate description issue: Two consecutive descriptions for the Terminal Output Limit are present. Consolidate or clarify to ensure only one clear description is shown.

@dosubot dosubot Bot added the documentation Improvements or additions to documentation label Apr 12, 2025
@hannesrudolph hannesrudolph merged commit ea0335f into main Apr 12, 2025
3 checks passed
@hannesrudolph hannesrudolph deleted the shellfix branch April 12, 2025 01:01
@hannesrudolph hannesrudolph restored the shellfix branch April 14, 2025 16:37
@cte cte deleted the shellfix branch April 23, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant