Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
fix incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jul 6, 2023
1 parent 62fd51f commit 9c6ca43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conversion/requests/chatgpt/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func ConvertAPIRequest(api_request official_types.APIRequest) chatgpt_types.Chat
chatgpt_request.Model = "text-davinci-002-render-sha"
}
if strings.HasPrefix(api_request.Model, "gpt-4") {
token, err := arkose.GetOpenAIToken()
token, _, err := arkose.GetOpenAIToken()
if err == nil {
chatgpt_request.ArkoseToken = token
} else {
Expand Down

0 comments on commit 9c6ca43

Please sign in to comment.