feat:完善个人侧写

This commit is contained in:
SengokuCola
2025-06-03 18:13:48 +08:00
parent e888636ea0
commit 4cb3850d0c
7 changed files with 107 additions and 59 deletions

View File

@@ -100,7 +100,7 @@ class PromptManager:
return context_prompt
# 如果上下文中不存在,则使用全局提示模板
async with self._lock:
logger.debug(f"从全局获取提示词: {name}")
# logger.debug(f"从全局获取提示词: {name}")
if name not in self._prompts:
raise KeyError(f"Prompt '{name}' not found")
return self._prompts[name]