fix: doubao audio speedRadio to speed

This commit is contained in:
feitianbubu committed 2025-10-18 01:48:36 +08:00
1 parent 412b935a4d
commit 13362887dd
2 files changed
+1 -15

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ func (a *Adaptor) ConvertAudioRequest(c *gin.Context, info *relaycommon.RelayInf
}
voiceType := mapVoiceType(request.Voice)
speedRatio := mapSpeedRatio(request.Speed)
speedRatio := request.Speed
encoding := mapEncoding(request.ResponseFormat)
c.Set("response_format", encoding)