[Bug] Duplicate character insertion in code generation causing syntax errors
Status Closed — not planned
Maintainer reply None cached
Activity 3 comments · opened Nov 25, 2025 · closed Jan 27, 2026
Bug Description
o sed com freuencia insere erros no codigo gerrando corte -1 na letra duplicando comandos exemplo C CHTML ele coloca CCHTML
Environment Info
- Platform: darwin
- Terminal: Termius
- Version: 2.0.53
- Feedback ID: 04b11fbc-6293-43d4-ad72-a5308b6bd638
Errors
[{"error":"MaxFileReadTokenExceededError: File content (27006 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at WB2 (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1505:41097)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1514:963)\n at async file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1648:1464","timestamp":"2025-11-25T19:09:06.303Z"},{"error":"MaxFileReadTokenExceededError: File content (39492 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at WB2 (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1505:41097)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1514:963)\n at async file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1648:1464","timestamp":"2025-11-25T19:25:28.663Z"},{"error":"MaxFileReadTokenExceededError: File content (39492 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at WB2 (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1505:41097)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1514:963)\n at async file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1648:1464","timestamp":"2025-11-25T19:25:35.248Z"},{"error":"MaxFileReadTokenExceededError: File content (39492 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at WB2 (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1505:41097)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1514:963)\n at async file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1648:1464","timestamp":"2025-11-25T19:25:39.363Z"},{"error":"MaxFileReadTokenExceededError: File content (40892 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at WB2 (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1505:41097)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1514:963)\n at async file:///Users/tarcisiobannwart/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1648:1464","timestamp":"2025-11-25T20:05:20.589Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗