refactor: rename function

This commit is contained in:
JustSong
2023-06-19 15:00:22 +08:00
parent 39949aa2ac
commit 084a4fdf0a
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ import (
"strings"
)
func relayHelper(c *gin.Context, relayMode int) *OpenAIErrorWithStatusCode {
func relayTextHelper(c *gin.Context, relayMode int) *OpenAIErrorWithStatusCode {
channelType := c.GetInt("channel")
tokenId := c.GetInt("token_id")
consumeQuota := c.GetBool("consume_quota")