From 6543e62b957116289b998702550a747d156bb5ed Mon Sep 17 00:00:00 2001 From: "sangho.lee" Date: Fri, 20 Sep 2024 11:52:30 +0900 Subject: [PATCH] Support TTS v1.4 #2533 * Make the text field of speak payload optional --- .../main/java/com/skt/nugu/sdk/agent/tts/DefaultTTSAgent.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nugu-agent/src/main/java/com/skt/nugu/sdk/agent/tts/DefaultTTSAgent.kt b/nugu-agent/src/main/java/com/skt/nugu/sdk/agent/tts/DefaultTTSAgent.kt index 161057fd3..25be00e79 100644 --- a/nugu-agent/src/main/java/com/skt/nugu/sdk/agent/tts/DefaultTTSAgent.kt +++ b/nugu-agent/src/main/java/com/skt/nugu/sdk/agent/tts/DefaultTTSAgent.kt @@ -77,7 +77,7 @@ class DefaultTTSAgent( @SerializedName("playServiceId") val playServiceId: String?, @SerializedName("text") - val text: String, + val text: String?, @SerializedName("token") val token: String, @SerializedName("playStackControl") @@ -89,7 +89,7 @@ class DefaultTTSAgent( private const val TAG = "DefaultTTSAgent" const val NAMESPACE = "TTS" - private val VERSION = Version(1, 3) + private val VERSION = Version(1, 4) private const val NAME_SPEAK = "Speak"