style(memory): instruct AI to avoid emojis in responses
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 2m32s

This commit is contained in:
gameloader
2025-10-13 10:27:16 +08:00
parent d8e0a82b72
commit c0505479f0

View File

@ -28,7 +28,7 @@ class Mem0Integration:
self.memory_template = """根据以下关于用户的记忆:
{memories}
请回应用户的询问:{query}
在你的回复中,请参考上述记忆以提供个性化的回答。"""
在你的回复中,请参考上述记忆以提供个性化的回答。注意回复不要加表情符号。"""
def search_memories(self, query: str, user_id: str, limit: int = 5) -> List[Any]:
"""Search for relevant memories about the user."""