重构: tool_registry拆分及多批改进

This commit is contained in:
2026-06-19 00:10:14 +08:00
parent a2871a66e0
commit 60b01d03ee
33 changed files with 703 additions and 247 deletions

View File

@@ -132,8 +132,6 @@ export function useMarkdown() {
escapeFallback,
getMarked: () => _marked,
getPurify: () => _purify,
// 仅 AiChat 流式块级 memo 用(独立缓存,不与历史 _mdCache 混)
clearHistoryCache: () => _mdCache.clear(),
}
}