🤖 自动格式化代码 [skip ci]
This commit is contained in:
@@ -594,12 +594,12 @@ class HeartFChatting:
|
|||||||
else:
|
else:
|
||||||
success, reply_text = result
|
success, reply_text = result
|
||||||
command = ""
|
command = ""
|
||||||
|
|
||||||
# 检查action_data中是否有系统命令,优先使用系统命令
|
# 检查action_data中是否有系统命令,优先使用系统命令
|
||||||
if "_system_command" in action_data:
|
if "_system_command" in action_data:
|
||||||
command = action_data["_system_command"]
|
command = action_data["_system_command"]
|
||||||
logger.debug(f"{self.log_prefix} 从action_data中获取系统命令: {command}")
|
logger.debug(f"{self.log_prefix} 从action_data中获取系统命令: {command}")
|
||||||
|
|
||||||
logger.debug(f"{self.log_prefix} 麦麦执行了'{action}', 返回结果'{success}', '{reply_text}', '{command}'")
|
logger.debug(f"{self.log_prefix} 麦麦执行了'{action}', 返回结果'{success}', '{reply_text}', '{command}'")
|
||||||
|
|
||||||
return success, reply_text, command
|
return success, reply_text, command
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ class ExitFocusChatAction(BaseAction):
|
|||||||
try:
|
try:
|
||||||
# 标记状态切换请求
|
# 标记状态切换请求
|
||||||
self._mark_state_change()
|
self._mark_state_change()
|
||||||
|
|
||||||
status_message = "决定退出专注聊天模式"
|
status_message = "决定退出专注聊天模式"
|
||||||
return True, status_message
|
return True, status_message
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user