🤖 自动格式化代码 [skip ci]
This commit is contained in:
@@ -18,7 +18,6 @@ from src.chat.planner_actions.action_manager import ActionManager
|
|||||||
from src.person_info.relationship_builder_manager import relationship_builder_manager
|
from src.person_info.relationship_builder_manager import relationship_builder_manager
|
||||||
from .priority_manager import PriorityManager
|
from .priority_manager import PriorityManager
|
||||||
import traceback
|
import traceback
|
||||||
from src.chat.planner_actions.planner_normal import NormalChatPlanner
|
|
||||||
from src.chat.planner_actions.planner_focus import ActionPlanner
|
from src.chat.planner_actions.planner_focus import ActionPlanner
|
||||||
from src.chat.planner_actions.action_modifier import ActionModifier
|
from src.chat.planner_actions.action_modifier import ActionModifier
|
||||||
|
|
||||||
|
|||||||
@@ -176,7 +176,6 @@ class ActionPlanner:
|
|||||||
action = "no_reply"
|
action = "no_reply"
|
||||||
reasoning = f"Planner 内部处理错误: {outer_e}"
|
reasoning = f"Planner 内部处理错误: {outer_e}"
|
||||||
|
|
||||||
|
|
||||||
is_parallel = False
|
is_parallel = False
|
||||||
if action in current_available_actions:
|
if action in current_available_actions:
|
||||||
action_info = current_available_actions[action]
|
action_info = current_available_actions[action]
|
||||||
@@ -221,7 +220,6 @@ class ActionPlanner:
|
|||||||
|
|
||||||
self.last_obs_time_mark = time.time()
|
self.last_obs_time_mark = time.time()
|
||||||
|
|
||||||
|
|
||||||
if self.mode == "focus":
|
if self.mode == "focus":
|
||||||
by_what = "聊天内容"
|
by_what = "聊天内容"
|
||||||
no_action_block = ""
|
no_action_block = ""
|
||||||
@@ -239,7 +237,6 @@ class ActionPlanner:
|
|||||||
)
|
)
|
||||||
chat_context_description = f"你正在和 {chat_target_name} 私聊"
|
chat_context_description = f"你正在和 {chat_target_name} 私聊"
|
||||||
|
|
||||||
|
|
||||||
action_options_block = ""
|
action_options_block = ""
|
||||||
|
|
||||||
for using_actions_name, using_actions_info in current_available_actions.items():
|
for using_actions_name, using_actions_info in current_available_actions.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user