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
This change allow you to set a default model provider where before the
default could only be a url/api pair for OpenAI. Setting this also
implicitly disables the configured openai provider configured with the
--openai* flags
Copy file name to clipboardExpand all lines: pkg/cli/gptscript.go
+25-23Lines changed: 25 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -54,24 +54,25 @@ type GPTScript struct {
54
54
Outputstring`usage:"Save output to a file, or - for stdout" short:"o"`
55
55
EventsStreamTostring`usage:"Stream events to this location, could be a file descriptor/handle (e.g. fd://2), filename, or named pipe (e.g. \\\\.\\pipe\\my-pipe)" name:"events-stream-to"`
56
56
// Input should not be using GPTSCRIPT_INPUT env var because that is the same value that is set in tool executions
57
-
Inputstring`usage:"Read input from a file (\"-\" for stdin)" short:"f" env:"GPTSCRIPT_INPUT_FILE"`
58
-
SubToolstring`usage:"Use tool of this name, not the first tool in file" local:"true"`
59
-
Assemblebool`usage:"Assemble tool to a single artifact, saved to --output" hidden:"true" local:"true"`
60
-
ListModelsbool`usage:"List the models available and exit" local:"true"`
61
-
ListToolsbool`usage:"List built-in tools and exit" local:"true"`
0 commit comments