删掉多余的传入参数

This commit is contained in:
Bakadax
2025-04-19 15:13:25 +08:00
parent a19dcf21f2
commit 4be6e121c3

View File

@@ -284,7 +284,6 @@ class ThinkFlowChat:
with Timer("思考前使用工具", timing_results): with Timer("思考前使用工具", timing_results):
tool_result = await self.tool_user.use_tool( tool_result = await self.tool_user.use_tool(
message.processed_plain_text, message.processed_plain_text,
message.message_info.user_info.user_nickname,
chat, chat,
heartflow.get_subheartflow(chat.stream_id), heartflow.get_subheartflow(chat.stream_id),
) )
@@ -341,8 +340,6 @@ class ThinkFlowChat:
current_mind, past_mind = await heartflow.get_subheartflow( current_mind, past_mind = await heartflow.get_subheartflow(
chat.stream_id chat.stream_id
).do_thinking_before_reply( ).do_thinking_before_reply(
message_txt=message.processed_plain_text,
sender_info=message.message_info.user_info,
chat_stream=chat, chat_stream=chat,
obs_id=get_mid_memory_id, obs_id=get_mid_memory_id,
extra_info=tool_result_info, extra_info=tool_result_info,