fix: update message formatting in MoviePilotTool for clarity

- Changed the tool message format to use "=>" instead of wrapping with separators, enhancing readability and user experience during tool execution.
This commit is contained in:
jxxghp
2025-11-18 12:43:27 +08:00
parent 9cb79a7827
commit ed73cfdcc7

View File

@@ -47,7 +47,7 @@ class MoviePilotTool(BaseTool, metaclass=ABCMeta):
tool_message = explanation
if tool_message:
formatted_message = f"⚙️ {tool_message} ⚙️"
formatted_message = f"⚙️ => {tool_message}"
await self.send_tool_message(formatted_message)
return await self.run(**kwargs)