Skip to content

Commit 966f089

Browse files
committed
hotfix for ubuntu
1 parent e90ae5a commit 966f089

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/setup.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ func Setup(version string) error {
9191
model = "gpt-3.5-turbo"
9292
}
9393

94-
SetOpenAiApiKey(openai_api_key)
94+
if runtime.GOOS == "darwin" {
95+
SetOpenAiApiKey(openai_api_key)
96+
}
9597
config := HowtoConfig{
9698
Model: model,
9799
Shell: shell,

0 commit comments

Comments
 (0)