@builder.io/ai-utils 0.50.3 → 0.50.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.50.3",
3
+ "version": "0.50.4",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/codegen.d.ts CHANGED
@@ -644,6 +644,12 @@ export interface SendMessageToolInput {
644
644
  /**
645
645
  * When true, send the response as a voice message using text-to-speech.
646
646
  * Only supported for Telegram channels.
647
+ *
648
+ * Only set to true when the user's original message was a voice/audio
649
+ * message (look for "[Voice message transcription]" or "[Audio" markers),
650
+ * the channel is Telegram, and the response is short and conversational
651
+ * with no URLs, code, lists, or other content that doesn't translate to audio.
652
+ * Default to false (text) for all text-originated messages.
647
653
  */
648
654
  voice_response?: boolean;
649
655
  }