mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-14 16:37:27 +00:00
Add output truncation for directory listings when entries exceed configured line limit. This prevents overwhelming output for large directories while still informing users of truncated content. - Add MAX_ENTRY_COUNT constant (100) as upper bound - Use getTruncateToolOutputLines() config for dynamic limits - Show truncated item count with proper singular/plural handling - Update output format with --- separators for clarity - Add comprehensive tests for truncation behavior Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| vendor/ripgrep | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||