Commit Graph

6 Commits

Author SHA1 Message Date
b86610d445 feat: 添加数据库迁移、清空聊天记录按钮 - 复用SAVE_HISTORY接口 2026-04-15 11:07:06 +08:00
195ca87577 feat: 改进输入框支持多行文本和发送按钮
1. 将Input组件替换为TextArea,支持多行文本输入和粘贴

2. 添加发送按钮,点击即可发送消息

3. Enter键用于换行,支持多行编辑

4. 在帮助信息中显示配置文件和数据库路径

5. 优化输入框样式和布局

🤖 Generated with CodeArts Agent
2026-04-15 08:12:24 +08:00
ddc84382fd fix: 修复 TUI 界面 API Key 配置和消息处理问题
1. 修复配置保存问题:config_section.py 现在正确发送 API 配置和工具限制两个消息
2. 修复代理环境变量问题:graph_client.py 自动修正缺少 scheme 前缀的代理 URL
3. 修复响应解析问题:app.py 正确从 data 字段获取 content 和 tool_calls
4. 添加操作日志更新:app.py 处理工具调用信息并更新操作日志

🤖 Generated with CodeArts Agent
2026-04-14 23:46:21 +08:00
dd685485b5 docs: 重构为双语文档结构,添加人设图机制
- 拆分为 docs/(CN) 和 docs_en/(EN) 两个文件夹
- 主 README 索引对应语言文档
- 新增 persona.md (人设图机制详细说明)
- 文件重命名为英文名
2026-04-14 13:20:24 +08:00
82903a3fa7 fix: multiple UI and API issues
- Fix tool calls format for DeepSeek API (add type field)

- Fix config event handler name

- Fix message history display (preserve all messages)

- Fix right panel width and scrolling

- Add async config update to prevent UI freeze

- Add prompt caching with singleton pattern

- Update build scripts with complete hidden imports
2026-04-12 23:41:19 +08:00
83906a6985 refactor: restructure to core/ + ui/ with multi-threaded backend 2026-04-12 18:15:55 +08:00