TTS 返回语音优化

This commit is contained in:
2025-10-19 18:43:07 +08:00
parent a839571b4e
commit 7a7ff415c6
2 changed files with 6 additions and 6 deletions

View File

@@ -110,6 +110,7 @@ public class OpenAiStreamClient {
// 解析JSON获取内容
try {
JSONObject json = JSONUtil.parseObj(data);
System.out.println(json);
String content = json.getJSONArray("choices")
.getJSONObject(0)
.getJSONObject("delta")