[Bug] Response streaming duplicates and drops content

Resolved 💬 2 comments Opened Apr 21, 2026 by cquemin Closed Apr 29, 2026

Bug Description
The streaming of the response is broken. There is some dupplication and some part missing. look at the last 10mn conversation

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.116
  • Feedback ID: 751dccf1-80f1-4ff0-b3f3-94cf7dcee993

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T16:48:32.317Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T16:48:32.317Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6147:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T16:48:32.770Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6147:11019)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T16:48:32.770Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6147:11826)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T16:48:32.770Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6147:11826)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T16:48:32.770Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:00:53.065Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:00:53.065Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:00:53.065Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server terraform invalid: Missing environment variables: TFE_TOKEN\n    at RMH (/$bunfs/root/src/entrypoints/cli.js:2752:30332)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:00:53.065Z"},{"error":"McpError: MCP error -32001: user-cancel\n    at f (/$bunfs/root/src/entrypoints/cli.js:93:55308)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:55566)\n    at abort (unknown)\n    at A51 (/$bunfs/root/src/entrypoints/cli.js:814:3782)\n    at abort (unknown)\n    at A51 (/$bunfs/root/src/entrypoints/cli.js:814:3782)\n    at abort (unknown)\n    at Yr (/$bunfs/root/src/entrypoints/cli.js:8417:7787)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8379:4675)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:621:9219)","timestamp":"2026-04-21T18:39:29.677Z"},{"error":"McpToolCallError: request failed: internal query returned 400: {\"errors\":[{\"title\":\"Bad Request\",\"detail\":\"unrecognized function 'regexp_extract' at 1:7\"}]}\n    at KR7 (/$bunfs/root/src/entrypoints/cli.js:4768:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:40:57.435Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 201385 tokens > 200000 maximum\"},\"request_id\":\"req_011CaHWYVBDsKRxh5CiLoV7q\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54074)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T20:00:03.235Z"},{"error":"Error: 400 {\"…

Note: Content was truncated.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗