mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-24 08:03:53 +08:00
feat:新增仅上报聊天记录(mem_report_only)记忆供应器
This commit is contained in:
@@ -751,8 +751,8 @@ class ConnectionHandler:
|
||||
memory_type = self.config["Memory"][self.config["selected_module"]["Memory"]][
|
||||
"type"
|
||||
]
|
||||
# 如果使用 nomen,直接返回
|
||||
if memory_type == "nomem":
|
||||
# 如果使用 nomen 或 mem_report_only,直接返回
|
||||
if memory_type == "nomem" or memory_type == "mem_report_only":
|
||||
return
|
||||
# 使用 mem_local_short 模式
|
||||
elif memory_type == "mem_local_short":
|
||||
|
||||
Reference in New Issue
Block a user