You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ When creating a `GTPScript` instance, you can pass the following global options.
27
27
-`APIKey`: Specify an OpenAI API key for authenticating requests
28
28
-`BaseURL`: A base URL for an OpenAI compatible API (the default is `https://api.openai.com/v1`)
29
29
-`DefaultModel`: The default model to use for OpenAI requests
30
+
-`Env`: Supply the environment variables. Supplying anything here means that nothing from the environment is used. The default is `os.Environ()`. Supplying `Env` at the run/evaluate level will be treated as "additional."
30
31
31
32
## Run Options
32
33
@@ -43,7 +44,6 @@ As noted above, the Global Options are also available to specify here. These opt
43
44
-`chatState`: The chat state to continue, or null to start a new chat and return the state
44
45
-`confirm`: Prompt before running potentially dangerous commands
45
46
-`prompt`: Allow prompting of the user
46
-
-`env`: Extra environment variables to pass to the script in the form `KEY=VAL`
0 commit comments