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
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ The GPTScript instance allows the caller to run gptscript files, tools, and othe
24
24
25
25
When creating a `GTPScript` instance, you can pass the following global options. These options are also available as run `Options`. Anything specified as a run option will take precedence over the global option.
26
26
27
+
-`DisableCache`: Enable or disable caching. Default (false).
28
+
-`CacheDir`: The directory to use for caching. Default (""), which uses the default cache directory.
27
29
-`APIKey`: Specify an OpenAI API key for authenticating requests
28
30
-`BaseURL`: A base URL for an OpenAI compatible API (the default is `https://api.openai.com/v1`)
29
31
-`DefaultModel`: The default model to use for chat completion requests
@@ -36,7 +38,6 @@ These are optional options that can be passed to the various `exec` functions.
36
38
None of the options is required, and the defaults will reduce the number of calls made to the Model API.
37
39
As noted above, the Global Options are also available to specify here. These options would take precedence.
38
40
39
-
-`disableCache`: Enable or disable caching. Default (false).
40
41
-`subTool`: Use tool of this name, not the first tool
41
42
-`input`: Input arguments for the tool run
42
43
-`workspace`: Directory to use for the workspace, if specified it will not be deleted on exit
0 commit comments