Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
log model name
Browse files Browse the repository at this point in the history
  • Loading branch information
linweiyuan committed Jun 29, 2023
1 parent 1e82278 commit 0d7ae0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/chatgpt/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bufio"
"bytes"
"encoding/json"
"github.com/linweiyuan/go-chatgpt-api/util/logger"
"os"
"strings"

Expand Down Expand Up @@ -41,6 +42,8 @@ func CreateConversation(c *gin.Context) {
}
}

logger.Info(request.Model)

if strings.HasPrefix(request.Model, gpt4Model) {
if arkoseTokenUrl == "" {
arkoseToken, err := funcaptcha.GetOpenAIToken()
Expand Down

0 comments on commit 0d7ae0d

Please sign in to comment.