delete log

This commit is contained in:
minwang
2026-05-01 16:03:02 +08:00
parent b542388053
commit 4670ad2925
@@ -360,7 +360,6 @@ class MemoryProvider(MemoryProviderBase):
# Update cache with fetched profile_content
self.last_profile_content = profile_content
logger.bind(tag=TAG).info(f"Successfully fetched and cached user profile from profile_content (length: {len(self.last_profile_content)})")
logger.bind(tag=TAG).debug(f"User profile content: {self.last_profile_content}")
return self.last_profile_content
# If profile_content is empty, fallback to topics
@@ -370,7 +369,6 @@ class MemoryProvider(MemoryProviderBase):
# Serialize topics dict to JSON string for structured profile
self.last_profile_content = json.dumps(topics, ensure_ascii=False, indent=2)
logger.bind(tag=TAG).info(f"Successfully fetched and cached user profile from topics (length: {len(self.last_profile_content)})")
logger.bind(tag=TAG).debug(f"User profile topics: {self.last_profile_content}")
return self.last_profile_content
# Both profile_content and topics are empty