fix agent tools

This commit is contained in:
jxxghp
2025-11-01 12:01:48 +08:00
parent 247208b8a9
commit b45b603b97
12 changed files with 145 additions and 331 deletions

View File

@@ -41,10 +41,10 @@ class MoviePilotTool(BaseTool):
"""发送工具消息"""
ToolChain().post_message(
Notification(
channel=self.channel,
source=self.source,
userid=self.user_id,
username=self.username,
channel=self._channel,
source=self._source,
userid=self._user_id,
username=self._username,
title=title,
text=message
)