feat:增加记忆提取能力
This commit is contained in:
@@ -26,15 +26,15 @@ class ExpressionReflector:
|
||||
bool: 是否执行了提问
|
||||
"""
|
||||
try:
|
||||
logger.info(f"[Expression Reflection] 开始检查是否需要提问 (stream_id: {self.chat_id})")
|
||||
logger.debug(f"[Expression Reflection] 开始检查是否需要提问 (stream_id: {self.chat_id})")
|
||||
|
||||
if not global_config.expression.reflect:
|
||||
logger.info(f"[Expression Reflection] 表达反思功能未启用,跳过")
|
||||
logger.debug(f"[Expression Reflection] 表达反思功能未启用,跳过")
|
||||
return False
|
||||
|
||||
operator_config = global_config.expression.reflect_operator_id
|
||||
if not operator_config:
|
||||
logger.info(f"[Expression Reflection] Operator ID 未配置,跳过")
|
||||
logger.debug(f"[Expression Reflection] Operator ID 未配置,跳过")
|
||||
return False
|
||||
|
||||
# 检查是否在允许列表中
|
||||
|
||||
Reference in New Issue
Block a user