优化s4u提示词

This commit is contained in:
BuildTools
2025-09-12 21:39:04 +08:00
committed by Windpicker-owo
parent 6ecb7a7d6a
commit ca82c1c2f2
3 changed files with 7 additions and 12 deletions

View File

@@ -117,7 +117,7 @@ async def build_cross_context_s4u(
if not cross_context_messages:
return ""
return "# 跨上下文参考\n" + "\n\n".join(cross_context_messages) + "\n"
return "### 其他群聊中的聊天记录\n" + "\n\n".join(cross_context_messages) + "\n"
async def get_chat_history_by_group_name(group_name: str) -> str: