refactor: rename function

This commit is contained in:
JustSong
2023-06-19 15:00:22 +08:00
parent e5ac80c15d
commit 33846ce4f6
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")