fix:默认不启动s4u组件
This commit is contained in:
@@ -16,7 +16,7 @@ from src.plugin_system.apis import generator_api, message_api
|
||||
from src.plugins.built_in.core_actions.no_reply import NoReplyAction
|
||||
from src.person_info.person_info import get_person_info_manager
|
||||
from src.chat.mai_thinking.mai_think import mai_thinking_manager
|
||||
from src.mais4u.constant_s4u import ENABLE_THINKING
|
||||
from src.mais4u.constant_s4u import ENABLE_S4U
|
||||
|
||||
logger = get_logger("reply_action")
|
||||
|
||||
@@ -120,7 +120,7 @@ class ReplyAction(BaseAction):
|
||||
reply_text = f"你对{person_name}进行了回复:{reply_text}"
|
||||
|
||||
|
||||
if ENABLE_THINKING:
|
||||
if ENABLE_S4U:
|
||||
await mai_thinking_manager.get_mai_think(self.chat_id).do_think_after_response(reply_text)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user