feat: 更新首页信息处理模型,支持内存缓存与过期机制;添加全量目录同步脚本

This commit is contained in:
yuxuanhui
2026-09-12 10:33:40 +08:00
parent b9975e58e9
commit 9dee2de039
7 changed files with 295 additions and 20 deletions
+1
View File
@@ -138,6 +138,7 @@ def create_app(settings=None, wq_client=None, ai_model_factory=None):
app.state.settings = settings
app.state.ai = ai_runtime
app.state.home_information_locks = {}
app.state.home_message_cache = {}
app.state.research = research_runtime
app.state.mcp = mcp_runtime
login_failures = defaultdict(list)