添加注释,增加redis支持,添加了聊天记录构建支持

This commit is contained in:
2026-01-02 17:10:42 +08:00
parent 3163bbf8c1
commit 01b83803c1
24 changed files with 965 additions and 313 deletions

View File

@@ -64,6 +64,15 @@ class Config:
"""
return self._data.get("features", {})
@property
def redis(self) -> dict:
"""
获取 Redis 配置
:return: 配置字典
"""
return self._data.get("redis", {})
# 实例化全局配置对象
global_config = Config()