Jiaqi
Jiaqi
## 🔍 需要确认文件路径 我可以修复这个问题,但需要先确认代码位置。移动端回车直接发送的问题应该在输入框组件里。 ### 请确认以下路径是否存在: 1. `src/renderer/pages/conversation/components/ChatInput.tsx` 2. 或者 `src/renderer/components/ChatInput/` 目录 3. 还是其他位置? ### 修复思路(预览) ```typescript const handleKeyDown = (e: KeyboardEvent) => { const isMobile = /Android|webOS|iPhone|iPad|iPod/i.test(navigator.userAgent); if (e.key...
## 🔍 Root Cause Analysis Found the bug! The issue is in `src/common/chatLib.ts` in the `composeMessage` function. ### The Problem When merging `acp_tool_call` messages, the code uses a shallow spread:...
## 🔍 需要更多信息来定位问题 我可以帮忙修复这个白屏问题,但需要先确认几个细节: ### 诊断问题 1. **DevTools 控制台报错截图** - 按 `Ctrl+Shift+I` (Windows) 或 `Cmd+Option+I` (macOS) 打开控制台 - 切换到 Console 标签,截图红色报错信息 2. **是否只在 Telegram 出现?** - 点击其他 channel(如 Slack、Discord)是否正常? -...
## 🔧 修复方案:RaspberryPi4B Headless 启动问题 ### 问题根因 Electron 37+ 在 Linux headless 环境(无 X server)下需要显式设置 `--headless` 和 `--disable-gpu` 参数才能正常运行。 ### 修复代码 **文件:`src/index.ts`** 在文件顶部(`import` 语句之后,`app.whenReady()` 之前)添加以下代码: ```typescript // ============ Headless Mode...