Commit Graph

12 Commits

Author SHA1 Message Date
雅诺狐
97dc145b76 Refactor replyer retrieval to async and add memory formatter
Changed get_replyer and related calls to async across multiple modules for proper coroutine handling. Added format_memories_bracket_style utility for memory formatting. Improved video analysis caching logic and type annotations. Updated error logging for message processing.
2025-11-19 23:18:45 +08:00
Windpicker-owo
a513aeb68e refactor(chat): 统一异步调用模式并修复循环依赖
- 将 chat_manager.get_stream() 调用改为异步
- 将 replyer_manager.get_replyer() 方法改为异步
- 在 generator_api 中使用动态导入避免循环依赖
- 在 action_manager 中添加待处理动作队列清理
- 更新所有相关调用点以支持异步模式
2025-11-19 23:18:40 +08:00
John Richard
a79253c714 re-style: 格式化代码 2025-11-19 23:13:20 +08:00
SengokuCola
ae254de494 better:重构personinfo,使用Person类和类属性 2025-08-12 14:33:13 +08:00
SengokuCola
1f91967d2d remove:移除willing系统,移除reply2,移除能量值,移除reply_to改为message 2025-08-11 13:18:17 +08:00
UnCLAS-Prommer
6c0edd0ad7 调整对应的调用 2025-07-30 17:07:55 +08:00
UnCLAS-Prommer
7ef0bfb7c8 完成所有类型注解的修复 2025-07-13 00:19:54 +08:00
UnCLAS-Prommer
b303a95f61 部分类型注解修复,优化import顺序,删除无用API文件 2025-07-12 00:34:49 +08:00
SengokuCola
b3a93d16e6 fix - 优化normal_chat代码,采用和focus一致的关系构建,优化log,添加超时检查,允许normal使用llm激活 2025-07-06 17:02:36 +08:00
SengokuCola
d0956bfe66 config:修改配置,可以选择开启tool,focus也支持次要回复模型 2025-07-01 18:13:04 +08:00
github-actions[bot]
6dee5a6333 🤖 自动格式化代码 [skip ci] 2025-07-01 04:27:28 +00:00
SengokuCola
a1a81194f1 feat:合并normal和focus的prompt构建 2025-07-01 12:27:14 +08:00