Commit Graph

4 Commits

Author SHA1 Message Date
b86610d445 feat: 添加数据库迁移、清空聊天记录按钮 - 复用SAVE_HISTORY接口 2026-04-15 11:07:06 +08:00
a8165874ad feat: 添加聊天记录持久化功能 - 启动时从数据库加载历史,消息处理后自动保存 2026-04-15 10:49:53 +08:00
83906a6985 refactor: restructure to core/ + ui/ with multi-threaded backend 2026-04-12 18:15:55 +08:00
28aa696224 Cleanup: remove redundant files, add comprehensive tests
Deleted:
- install.bat (Windows-only, use pip directly)
- test_message_order.py (outdated, replaced by pytest)
- test_tool_call_flow.py (outdated documentation-style test)

Added tests (57 total, all passing):
- test_embedded_db.py: SQLite database operations (11 tests)
- test_tool_limiter.py: tool call limiting logic (14 tests)
- test_memory_tools.py: tool definitions validation (17 tests)
2026-04-12 16:07:39 +08:00