Commit Graph

227 Commits

Author SHA1 Message Date
SengokuCola
cbedf10cfd fix:修复回复目标文本为空 2025-06-08 17:44:15 +08:00
SengokuCola
e032f44643 feat:重写关系模块的逻辑和关系结构 2025-06-07 01:03:00 +08:00
SengokuCola
4cb3850d0c feat:完善个人侧写 2025-06-03 18:13:48 +08:00
SengokuCola
0bea30c052 fix:修改配置文件模型名,移除message_buffer 2025-06-03 13:41:30 +08:00
SengokuCola
6e39965c56 better:优化logger显示 2025-05-28 22:24:08 +08:00
SengokuCola
218d0d4a5d pass ruff 2025-05-28 20:44:26 +08:00
SengokuCola
41f97a0bf1 feat:允许command设置展示名称,而非指令原文,添加处理器超时,NormalChat转换清理 2025-05-28 13:49:19 +08:00
SengokuCola
369de9d137 feat:优化了auto切换聊天模式机制,修改取名prompt,不再处理temp 2025-05-27 21:45:03 +08:00
SengokuCola
57c9dacb99 fix:简化了身份配置 2025-05-27 10:50:47 +08:00
tcmofashi
0f62742138 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-26 10:41:52 +08:00
tcmofashi
2f9718441a feat: 启用message中的format_info功能 2025-05-26 10:40:31 +08:00
SengokuCola
9625750e62 fix:文件路径合理化 2025-05-23 16:00:26 +08:00
tcmofashi
d2a3f83bd6 fix: fit gemini 2025-05-23 13:48:23 +08:00
tcmofashi
cddcc10a52 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-23 12:14:31 +08:00
tcmofashi
ff9efb1c5e fix: 恢复template_info功能 2025-05-23 11:04:49 +08:00
SengokuCola
25d9032e62 better:重整配置,分离表达,聊天模式区分
重整配置文件路径,添加更多配置选项
分离了人设表达方式和学习到的表达方式
将聊天模式区分为normal focus和auto
2025-05-20 22:42:16 +08:00
SengokuCola
49c2bc854c refactor:重构聊天状态切换模式,移除限额,精简切换逻辑 2025-05-18 18:15:38 +08:00
UnCLAS-Prommer
061fcefeef 去除mmc端的白名单机制 2025-05-17 17:34:44 +08:00
SengokuCola
61e0dbe372 fix:修复合并问题 2025-05-16 23:16:47 +08:00
SengokuCola
00f02b6f38 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into new-storage 2025-05-16 21:03:40 +08:00
Oct-autumn
021e7f1a97 refactor: 重构配置模块 2025-05-16 16:50:53 +08:00
墨梓柒
a18524ce61 更新消息存储和查询逻辑,支持MongoDB风格的操作符,修改消息ID字段类型为TextField 2025-05-15 19:03:47 +08:00
github-actions[bot]
4c2cfd5c73 🤖 自动格式化代码 [skip ci] 2025-05-15 02:24:38 +00:00
墨梓柒
2be0130d23 重构消息存储逻辑,使用Peewee模型存储消息和撤回消息,添加时间戳处理 2025-05-15 10:24:25 +08:00
墨梓柒
b84cc9240a 重构数据库交互以使用 Peewee ORM
- 更新数据库连接和模型定义,以便使用 Peewee for SQLite。
- 在消息存储和检索功能中,用 Peewee ORM 查询替换 MongoDB 查询。
- 为 Messages、ThinkingLog 和 OnlineTime 引入了新的模型,以方便结构化数据存储。
- 增强了数据库操作的错误处理和日志记录。
- 删除了过时的 MongoDB 集合管理代码。
- 通过利用 Peewee 内置的查询和数据操作方法来提升性能。
2025-05-14 22:53:21 +08:00
墨梓柒
307d5a73a6 feat: 重构数据库导入路径,移除旧的数据库模块并添加新的数据库实现 2025-05-14 19:42:53 +08:00
SengokuCola
fed71bccad fix:调整目录结构,优化hfc prompt,移除日程,移除动态和llm判断willing模式, 2025-05-13 18:37:55 +08:00