Skip to content

Commit e0aa2ad

Browse files
authored
Merge pull request #486 from thedadams/openai-base-url
fix: use the same environment variable for OpenAI url
2 parents 7fc884c + d7b15dd commit e0aa2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/openai/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const (
2727

2828
var (
2929
key = os.Getenv("OPENAI_API_KEY")
30-
url = os.Getenv("OPENAI_URL")
30+
url = os.Getenv("OPENAI_BASE_URL")
3131
)
3232

3333
type InvalidAuthError struct{}

0 commit comments

Comments
 (0)