Skip to content

Commit e6d22c6

Browse files
committed
fix: correct default model env var name
Signed-off-by: Nick Hale <[email protected]>
1 parent bcf7d41 commit e6d22c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func (g GlobalOptions) toEnv() []string {
1818
args = append(args, "OPENAI_BASE_URL="+g.OpenAIBaseURL)
1919
}
2020
if g.DefaultModel != "" {
21-
args = append(args, "GPTSCRIPT_DEFAULT_MODEL="+g.DefaultModel)
21+
args = append(args, "GPTSCRIPT_SDKSERVER_DEFAULT_MODEL="+g.DefaultModel)
2222
}
2323

2424
return args

0 commit comments

Comments
 (0)