mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
delete log
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user