Skip to content

Commit

Permalink
chore: nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
yqchilde committed Mar 6, 2023
1 parent 27272b0 commit 13da79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/chatgpt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func getGptClient() (*openai.Client, error) {

config := openai.DefaultConfig(keys[0].Key)
if len(proxy.Url) > 0 {
config.BaseURL = proxy.Url + "/v1"
config.BaseURL = proxy.Url
}

return openai.NewClientWithConfig(config), nil
Expand Down

0 comments on commit 13da79d

Please sign in to comment.