fix(backend): fix blank responses, VS Code warnings, and tsconfig

↗ view on GitHub · beerbottle90 · 2026-06-07 · b439473e

- Increase MAX_TOKENS from 16384 to 64000 in claude.ts to prevent
  extended thinking consuming entire token budget with no text output
- Add error event handler in useAssistantChat.ts for backend SSE errors
- Clear streaming placeholders at stream end to remove stuck spinner
- Add @modelcontextprotocol/sdk dependency (peer dep of @google/genai)
- Add baseUrl to tsconfig.json to resolve VS Code JSON badge on paths
- Remove dead code: buildTabularContext, replaceBody, colCount variable
- Prefix unused route params with _ to suppress TS6133 warnings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository beerbottle90/mike-oss
Author beerbottle90 <demirertug@gmail.com>
Authored
Parents 036a4350
Stats 8 files changed , +7 , -65
Part of Blank-response and streaming-spinner fixes

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-b439473e.md from inside the repo you want the change in.

⬇ Download capture-commit-b439473e.md