mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
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:
@@ -47,7 +47,7 @@ class MoviePilotTool(BaseTool, metaclass=ABCMeta):
|
|||||||
tool_message = explanation
|
tool_message = explanation
|
||||||
|
|
||||||
if tool_message:
|
if tool_message:
|
||||||
formatted_message = f"⚙️ {tool_message} ⚙️"
|
formatted_message = f"⚙️ => {tool_message}"
|
||||||
await self.send_tool_message(formatted_message)
|
await self.send_tool_message(formatted_message)
|
||||||
return await self.run(**kwargs)
|
return await self.run(**kwargs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user