[Bug] Agent selects wrong database without user confirmation, wasting API tokens
Resolved 💬 2 comments Opened Mar 20, 2026 by quaesitor-scientiam Closed Mar 27, 2026
Bug Description
It made a mistake and wasted 30% of my usage limit before figured out it was using the wrong database. Very disappointed.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.80
- Feedback ID: 769d48d0-0ad5-422e-89a3-9b3d33c30c13
Errors
[{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:28:50.771Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:29:34.075Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:33:49.009Z"},{"error":"Error: Was there a typo in the url or port?\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:34:10.408Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:37:12.531Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:38:11.625Z"},{"error":"Error: Was there a typo in the url or port?\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-20T16:38:29.537Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:71:14607)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:79:12958)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:78:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:81:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"202…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗