Commit Graph

65 Commits

Author SHA1 Message Date
Windpicker-owo
3980509caa refactor(prompt): 重构并统一提示词系统
- 删除旧的智能提示词系统(smart_prompt.py)和相关参数模块(prompt_parameters.py)
- 将 prompt_builder.py 重命名为 prompt.py 并精简功能
- 更新所有模块的导入路径从 `src.chat.utils.prompt_builder` 到 `src.chat.utils.prompt`
- 统一提示词构建接口,使用新的 PromptContext 替代 SmartPromptParameters
- 移除重复和冗余代码,简化系统架构

BREAKING CHANGE: 旧的 SmartPrompt 系统已被完全移除,所有相关模块需要改用新的统一 Prompt 系统
2025-11-19 22:58:17 +08:00
Windpicker-owo
51aad4f952 迁移:1f91967(remove:移除willing系统,移除reply2,移除能量值,移除reply_to改为message) 2025-11-19 22:57:24 +08:00
Windpicker-owo
fe472dff60 修复代码格式和文件名大小写问题 2025-11-19 22:55:55 +08:00
雅诺狐
ab3a36bfa7 全面更换orjson 2025-11-19 22:47:10 +08:00
SengokuCola
ed4313b8c0 修复了bug 2025-08-13 19:17:56 +08:00
SengokuCola
41a09b39b9 fix:将s4u启用放到配置文件防止git更新 2025-08-13 19:15:17 +08:00
tcmofashi
f5c66d4729 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-08-13 09:33:41 +08:00
SengokuCola
4ffcc61f4b feat:记录使用的表达方式 2025-08-12 21:44:35 +08:00
tcmofashi
4dec7d1f16 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-08-12 18:45:03 +08:00
tcmofashi
76285ecb8b feat: 增加对动作的重载选项 2025-08-12 18:42:55 +08:00
SengokuCola
ae254de494 better:重构personinfo,使用Person类和类属性 2025-08-12 14:33:13 +08:00
SengokuCola
1e7f3a92a6 fix:用新LLMREQ处理S4u 2025-08-12 11:25:46 +08:00
SengokuCola
0f6ed0fe02 ref:重构关系系统第一步,拆除impression,采用不同属性交叉评分呢 2025-08-12 01:38:19 +08:00
SengokuCola
268b428e8f feat: llm统计现已记录模型反应时间 2025-08-11 21:51:59 +08:00
SengokuCola
b738b6ba63 feat:添加群印象 2025-08-11 19:53:33 +08:00
SengokuCola
1f91967d2d remove:移除willing系统,移除reply2,移除能量值,移除reply_to改为message 2025-08-11 13:18:17 +08:00
SengokuCola
8053067af5 feat:优化关键词显示,优化表达方式配置和逻辑 2025-08-09 00:10:41 +08:00
SengokuCola
a2c86f3605 feat:部分处理notify,自动同步数据库null约束变更
notify存储至message库
2025-08-08 12:34:21 +08:00
UnCLAS-Prommer
6c0edd0ad7 调整对应的调用 2025-07-30 17:07:55 +08:00
SengokuCola
8c9b2b54c0 better:优化interest的算法,更好更强 2025-07-25 15:45:14 +08:00
SengokuCola
a02ea61386 fix ruff 2025-07-24 05:00:30 +08:00
SengokuCola
b839f8ba6c better:优化prompt和配置和无用代码 2025-07-24 02:37:11 +08:00
SengokuCola
398e15232e feat:升级loger_viewer,移除无用脚本 2025-07-23 23:55:15 +08:00
SengokuCola
9d4eed3c06 fix:默认不启动s4u组件 2025-07-23 02:48:40 +08:00
SengokuCola
c17b138c08 fix:ruff 2025-07-23 02:25:43 +08:00
SengokuCola
12a8290cfb fix:意外启动s4u 2025-07-23 02:25:34 +08:00
SengokuCola
75022b5d10 s4u的一些修改,包括动作适配 2025-07-22 20:36:53 +08:00
SengokuCola
639048deed feat:麦麦会产生thinking,并发送内容到直播流 2025-07-21 00:44:58 +08:00
SengokuCola
9be97acb00 feat:移除watching,增加回复生成缓冲,添加头部动作 2025-07-17 22:25:33 +08:00
SengokuCola
4e294e95d4 覅下:ruff 2025-07-17 00:56:16 +08:00
SengokuCola
c12975bfdf fix:修正s4u的一些问题,修复表达方式共享失效的问题 2025-07-17 00:55:48 +08:00
SengokuCola
7d448c5fdc feat:可接受 screen seg来读屏幕 2025-07-15 20:29:06 +08:00
SengokuCola
8111291f99 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-07-15 17:05:53 +08:00
SengokuCola
47b7624ec4 fix ruff 2025-07-15 17:04:58 +08:00
SengokuCola
5ec0d42cde feat:添加新的message类为s4u服务,添加s4u config,添加sc和gift的解析,修复关系构建的一些问题 2025-07-15 17:04:30 +08:00
UnCLASPrommer
b5fd959fe1 ruff, typing, api, bug fix 2025-07-15 16:50:29 +08:00
SengokuCola
443f0a4f6f feat:添加思考状态发送,优化s4u队列 2025-07-15 02:53:54 +08:00
SengokuCola
8e34ab885a feat:为s4u添加一个透明底的聊天记录网页 2025-07-14 23:44:01 +08:00
SengokuCola
3332be0d12 feat:添加了眨眼动作和微动作,注视动作 2025-07-14 02:44:27 +08:00
SengokuCola
6226de10ea remove:移除pfc遗留代码 2025-07-13 15:19:56 +08:00
SengokuCola
5fd4caf23b fix:更新s4u表情系统 2025-07-13 13:00:03 +08:00
SengokuCola
c6ec4c53db Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-07-13 12:59:10 +08:00
UnCLAS-Prommer
f890722c3d Merge branch 'dev' into plugin 2025-07-13 01:28:48 +08:00
SengokuCola
7757931da5 feat:为s4u添加优先级信息 2025-07-13 00:05:12 +08:00
SengokuCola
16c2a8b68e fix:无动作时卡入no_reply 2025-07-13 00:04:57 +08:00
UnCLAS-Prommer
485aaac783 Merge branch 'dev' into plugin 2025-07-12 10:02:05 +08:00
SengokuCola
8d303d96a2 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-07-12 01:26:30 +08:00
SengokuCola
0cdf53fb85 feat:进一步合并normal和focus模式,移除interest_dict(附带其他合理性修改) 2025-07-11 21:51:30 +08:00
github-actions[bot]
1bff478fcc 🤖 自动格式化代码 [skip ci] 2025-07-11 05:19:35 +00:00
github-actions[bot]
3768fb22ad 🤖 自动格式化代码 [skip ci] 2025-07-10 17:32:15 +00:00