@@ -849,13 +849,38 @@ public static class TTSPayload {
849849 @ JsonProperty ("params" )
850850 private TTSVendorParams params ;
851851
852+ /**
853+ * Controls whether the TTS module skips bracketed content when reading LLM
854+ * response text.
855+ * <p>
856+ * This prevents the agent from vocalizing structural prompt information like
857+ * tone indicators,
858+ * action descriptions, and system prompts, creating a more natural and
859+ * immersive listening experience.
860+ * <p>
861+ * Enable this feature by specifying one or more values:
862+ * <p>
863+ * 1: Skip content in Chinese parentheses ( )
864+ * <p>
865+ * 2: Skip content in Chinese square brackets 【】
866+ * <p>
867+ * 3: Skip content in parentheses ()
868+ * <p>
869+ * 4: Skip content in square brackets [ ]
870+ * <p>
871+ * 5: Skip content in curly braces { }
872+ */
873+ @ JsonProperty ("skipPatterns" )
874+ private List <Integer > skipPatterns ;
875+
852876 public static Builder builder () {
853877 return new Builder ();
854878 }
855879
856880 private TTSPayload (Builder builder ) {
857881 setVendor (builder .vendor );
858882 setParams (builder .params );
883+ setSkipPatterns (builder .skipPatterns );
859884 }
860885
861886 public TTSVendorParams getParams () {
@@ -874,9 +899,18 @@ public void setVendor(TTSVendorEnum vendor) {
874899 this .vendor = vendor ;
875900 }
876901
902+ public List <Integer > getSkipPatterns () {
903+ return skipPatterns ;
904+ }
905+
906+ public void setSkipPatterns (List <Integer > skipPatterns ) {
907+ this .skipPatterns = skipPatterns ;
908+ }
909+
877910 public static final class Builder {
878911 private TTSVendorEnum vendor ;
879912 private TTSVendorParams params ;
913+ private List <Integer > skipPatterns ;
880914
881915 private Builder () {
882916 }
@@ -891,6 +925,11 @@ public Builder params(TTSVendorParams val) {
891925 return this ;
892926 }
893927
928+ public Builder skipPatterns (List <Integer > val ) {
929+ skipPatterns = val ;
930+ return this ;
931+ }
932+
894933 public TTSPayload build () {
895934 return new TTSPayload (this );
896935 }
0 commit comments