Skip to content

Commit

Permalink
Merge pull request gptscript-ai#486 from thedadams/openai-base-url
Browse files Browse the repository at this point in the history
fix: use the same environment variable for OpenAI url
  • Loading branch information
thedadams authored Jun 12, 2024
2 parents 7fc884c + d7b15dd commit e0aa2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/openai/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (

var (
key = os.Getenv("OPENAI_API_KEY")
url = os.Getenv("OPENAI_URL")
url = os.Getenv("OPENAI_BASE_URL")
)

type InvalidAuthError struct{}
Expand Down

0 comments on commit e0aa2ad

Please sign in to comment.