feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
@@ -181,7 +181,7 @@ func ResponsesHelper(c *gin.Context, info *relaycommon.RelayInfo) (newAPIError *
|
||||
// WebSocket Responses usage. Compact requests keep their separate repricing.
|
||||
func ConsumeResponsesQuota(c *gin.Context, info *relaycommon.RelayInfo, usage *dto.Usage) {
|
||||
if strings.HasPrefix(info.OriginModelName, "gpt-4o-audio") {
|
||||
service.PostAudioConsumeQuota(c, info, usage, "")
|
||||
service.PostAudioConsumeQuota(c, info, usage, nil)
|
||||
return
|
||||
}
|
||||
service.PostTextConsumeQuota(c, info, usage, nil)
|
||||
|
||||
Reference in new issue
Block a user