zhenxun_bot/zhenxun/services
HibiKier 3deffcb46c
Some checks failed
检查bot是否运行正常 / bot check (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Force Sync to Aliyun / sync (push) Has been cancelled
Update Version / update-version (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
增强缓存功能,优化请求管理逻辑 (#2012)
- 在 `record_request.py` 和 `group_handle/__init__.py` 中引入了 `CacheRoot`,实现请求缓存,避免重复处理相同请求。
- 在 `exception.py` 中更新 `ForceAddGroupError` 类,新增 `group_id` 属性以便于错误处理。
- 在 `data_source.py` 中修改 `ForceAddGroupError` 的抛出逻辑,包含 `group_id` 信息。
- 更新 `cache` 类,支持类型化缓存字典和列表,增强缓存的类型安全性。

此更新提升了请求处理的效率和准确性,同时增强了错误信息的可追溯性。
2025-08-06 16:31:09 +08:00
..
cache 增强缓存功能,优化请求管理逻辑 (#2012) 2025-08-06 16:31:09 +08:00
db_context 增强权限检查,更新请求管理命令和数据库配置逻辑 (#2011) 2025-08-06 09:02:07 +08:00
llm ♻️ refactor!: 重构LLM服务架构并统一Pydantic兼容性处理 (#2002) 2025-08-04 23:36:12 +08:00
scheduler ♻️ refactor(scheduler): 重构定时任务系统并增强功能 (#2009) 2025-08-06 09:02:23 +08:00
__init__.py ♻️ refactor!: 重构LLM服务架构并统一Pydantic兼容性处理 (#2002) 2025-08-04 23:36:12 +08:00
data_access.py 添加bot画像 2025-07-16 02:51:06 +08:00
log.py 优化日志记录器,简化日志文件命名和模板解析逻辑 2025-06-17 09:16:22 +08:00
plugin_init.py 格式化db_context (#1980) 2025-07-15 17:08:42 +08:00