mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-11 18:50:59 +08:00
feat(agent): set return_direct for SendVoiceMessageTool to prevent streaming tool messages
This commit is contained in:
@@ -30,6 +30,7 @@ class SendVoiceMessageTool(MoviePilotTool):
|
||||
|
||||
name: str = "send_voice_message"
|
||||
sends_message: bool = True
|
||||
return_direct: bool = True
|
||||
description: str = (
|
||||
"Send a voice reply to the current user. Use this only when the user explicitly asks for "
|
||||
"a voice reply or when spoken playback is clearly better than plain text. On channels "
|
||||
|
||||
Reference in New Issue
Block a user