mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 11:37:23 +08:00
fix agent sendmsg
This commit is contained in:
@@ -60,7 +60,7 @@ class MoviePilotTool(BaseTool, metaclass=ABCMeta):
|
|||||||
"""设置回调处理器"""
|
"""设置回调处理器"""
|
||||||
self._callback_handler = callback_handler
|
self._callback_handler = callback_handler
|
||||||
|
|
||||||
async def send_tool_message(self, message: str, title: str = "执行工具"):
|
async def send_tool_message(self, message: str, title: str = ""):
|
||||||
"""发送工具消息"""
|
"""发送工具消息"""
|
||||||
await ToolChain().async_post_message(
|
await ToolChain().async_post_message(
|
||||||
Notification(
|
Notification(
|
||||||
|
|||||||
Reference in New Issue
Block a user