gpt4
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user