Skip to content

Commit

Permalink
Use custom openai config with CA certs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalter committed Aug 10, 2024
1 parent 06dbf05 commit 7d3ebbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func main() {
bot, err := gptbot.New(
ctx,
environment.BotConfig,
openai.NewClientWithConfig(openai.DefaultConfig(environment.APIKey)),
openai.NewClientWithConfig(openaiConfig),
logger,
)
if err != nil {
Expand Down

0 comments on commit 7d3ebbc

Please sign in to comment.