Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
cube2222 committed Mar 26, 2023
1 parent c2a6532 commit 30ec8f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Please keep in mind that this will incur costs on your OpenAI account.
RunE: func(cmd *cobra.Command, args []string) error {
ctx := context.Background()

openaiToken := os.Getenv("GPTSQL_TOKEN")
openaiToken := os.Getenv("DUCKGPT_TOKEN")
if openaiToken == "" {
return fmt.Errorf("please provide your OpenAI platform token in the GPTSQL_TOKEN environment variable")
return fmt.Errorf("please provide your OpenAI platform token in the DUCKGPT_TOKEN environment variable")
}

inputReader := bufio.NewReader(os.Stdin)
Expand Down

0 comments on commit 30ec8f2

Please sign in to comment.