Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheOptions ¶ added in v0.1.4
type DisplayOptions ¶
type GPTScript ¶
type GPTScript struct {
CacheOptions
OpenAIOptions
DisplayOptions
Color *bool `usage:"Use color in output (default true)" default:"true"`
Confirm bool `usage:"Prompt before running potentially dangerous commands"`
Debug bool `usage:"Enable debug logging"`
Quiet *bool `usage:"No output logging (set --quiet=false to force on even when there is no TTY)" short:"q"`
Output string `usage:"Save output to a file, or - for stdout" short:"o"`
Input string `usage:"Read input from a file (\"-\" for stdin)" short:"f"`
SubTool string `usage:"Use tool of this name, not the first tool in file"`
Assemble bool `usage:"Assemble tool to a single artifact, saved to --output" hidden:"true"`
ListModels bool `usage:"List the models available and exit"`
ListTools bool `usage:"List built-in tools and exit"`
Server bool `usage:"Start server"`
ListenAddress string `usage:"Server listen address" default:"127.0.0.1:9090"`
Chdir string `usage:"Change current working directory" short:"C"`
}
type OpenAIOptions ¶ added in v0.1.4
Click to show internal directories.
Click to hide internal directories.