[Feature Request] Increase default session token limit or add configurable limit
Resolved 💬 2 comments Opened Apr 1, 2026 by rupinrd3 Closed May 9, 2026
Bug Description
The token consumption got over in 3 input queries only. the session limit is too small to do any work. i might be forced to cancel the subscription.
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 2.1.89
- Feedback ID: d7183b10-a92e-4f47-a6b5-51da82c92d2d
Errors
[{"error":"MaxFileReadTokenExceededError: File content (25245 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:55:40.321Z"},{"error":"MaxFileReadTokenExceededError: File content (16696 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:55:40.561Z"},{"error":"MaxFileReadTokenExceededError: File content (25245 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:05.137Z"},{"error":"MaxFileReadTokenExceededError: File content (16696 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:05.299Z"},{"error":"MaxFileReadTokenExceededError: File content (29879 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:05.522Z"},{"error":"MaxFileReadTokenExceededError: File content (19790 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:05.821Z"},{"error":"MaxFileReadTokenExceededError: File content (13583 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at p47 (/$bunfs/root/src/entrypoints/cli.js:4298:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:06.090Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:537:2728)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:41.510Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at f (/$bunfs/root/src/entrypoints/cli.js:540:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:540:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:537:2799)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:56:41.510Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:537:2728)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T15:57:07.621Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:537:2728)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-01T16:10:42.201Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗