fix: doubao audio speedRadio to speed

This commit is contained in:
feitianbubu
2025-10-18 01:17:18 +08:00
parent 92fc973bc3
commit 525ca09f2c
2 changed files with 1 additions and 15 deletions

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)