mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
- Extract runSimpleLlmStream to @openchatlab/node-runtime for shared Electron/Server streaming with thinking_start/delta/end event handling - Simplify Electron IPC ai.ts by delegating to shared stream function - Add thinking/thinkingDone fields to LlmStreamChunk and preload types - Add collapsible thinking process display in SQL LAB with auto-scroll - Implement Web chatStream via SSE with proper error propagation - Add /_web/cache/save-to-downloads and show-in-folder server routes - Add cacheApi shim in Web registry for server-side file operations - Increase SQL LAB maxTokens to 4096 to accommodate reasoning models - Detect finishReason:length and show token limit error message - Add i18n keys for thinking/thinkingProcess/errorTokenLimit (4 locales)