Skip to content

Commit

Permalink
Merge pull request #26 from njhale/fix/opts
Browse files Browse the repository at this point in the history
fix: correct default model env var name
  • Loading branch information
njhale authored Jun 25, 2024
2 parents 5cadd95 + 0524df0 commit 573af6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptscript/opts.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def toEnv(self):
if self.BaseURL != "":
self.Env["OPENAI_BASE_URL"] = self.BaseURL
if self.DefaultModel != "":
self.Env["GPTSCRIPT_DEFAULT_MODEL"] = self.DefaultModel
self.Env["GPTSCRIPT_SDKSERVER_DEFAULT_MODEL"] = self.DefaultModel


class Options(GlobalOptions):
Expand Down

0 comments on commit 573af6b

Please sign in to comment.