This commit is contained in:
cookeem
2023-03-22 11:22:06 +08:00
parent 8822742664
commit 00b3aa9bb8
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ func (api *Api) wsPingMsg(conn *websocket.Conn, chClose, chIsCloseSet chan int)
func (api *Api) GetChatMessage(conn *websocket.Conn, cli *openai.Client, mutex *sync.Mutex, requestMsg string) {
var err error
var strResp string
model := openai.GPT3Dot5Turbo0301
model := openai.GPT40314
req := openai.ChatCompletionRequest{
Model: model,
MaxTokens: api.Config.MaxLength,