Skip to content

Commit

Permalink
Merge pull request #60 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 4617304 + aab4927 commit 907aadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gptscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function globalOptsToEnv(env: NodeJS.ProcessEnv, opts?: GlobalOpts) {
env["OPENAI_BASE_URL"] = opts.BaseURL
}
if (opts.DefaultModel) {
env["GPTSCRIPT_DEFAULT_MODEL"] = opts.DefaultModel
env["GPTSCRIPT_SDKSERVER_DEFAULT_MODEL"] = opts.DefaultModel
}
}

Expand Down

0 comments on commit 907aadf

Please sign in to comment.