Commit Graph

10 Commits

Author SHA1 Message Date
AL76
11e8b2fa5f chore: ruff的修改 2025-03-13 03:18:49 +08:00
晴猫
49082267bb 重构数据库模块实现延迟初始化
- 使用Global Object Pattern设计模式
- 实现数据库连接的延迟初始化
- 添加类型注解支持IDE类型推导
- 确保环境变量在bot.py加载后再连接数据库

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-12 22:27:05 +09:00
Rikki
bcb3f09c65 Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 00:54:49 +08:00
Rikki
39018440d7 refactor: 修复database单例多次初始化的问题,改变instance默认返回实例的类型,缩短db相关函数调用时的object名 2025-03-12 00:52:07 +08:00
SengokuCola
ed18f2e96d 新增了知识库一键启动漂亮脚本 2025-03-11 23:46:49 +08:00
春河晴
4baa6c6f0a feat: 实现MongoDB URI方式连接,并统一数据库连接代码。 2025-03-10 14:48:43 +09:00
SengokuCola
140bc1ab91 ruff说他有好点子 2025-03-08 16:10:55 +08:00
SengokuCola
934fe5953a v0.5.0
重构了消息发送系统,口牙
2025-03-04 22:35:55 +08:00
NepPure
f20fca0c01 mongodb支持配置用户名密码,向下兼容 2025-02-28 20:41:07 +08:00
SengokuCola
972e6066e6 v0.1
能跑但是没写部署教程,主题和记忆识别也没写完
2025-02-26 18:12:28 +08:00