fix: update error message to match guard logic

This commit is contained in:
Hiago Silva 2026-03-16 11:15:42 -03:00 committed by GitHub
parent f1c0cf1057
commit c54180de72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ export function createTtsTool(opts?: {
content: [
{
type: "text",
text: 'TTS requires a bound channel for audio delivery. Use sessionTarget: "main" or provide a channel parameter.',
text: 'TTS requires a bound session channel for audio delivery. Use sessionTarget: "main" instead of "isolated".',
},
],
details: { error: "no_channel" },