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
--cache-dir string Directory to store cache (default: $XDG_CACHE_HOME/gptscript) ($GPTSCRIPT_CACHE_DIR)
16
-
--chat-state string The chat state to continue, or null to start a new chat and return the state ($GPTSCRIPT_CHAT_STATE)
17
-
-C, --chdir string Change current working directory ($GPTSCRIPT_CHDIR)
18
-
--color Use color in output (default true) ($GPTSCRIPT_COLOR)
19
-
--config string Path to GPTScript config file ($GPTSCRIPT_CONFIG)
20
-
--confirm Prompt before running potentially dangerous commands ($GPTSCRIPT_CONFIRM)
21
-
--credential-context string Context name in which to store credentials ($GPTSCRIPT_CREDENTIAL_CONTEXT) (default "default")
22
-
--credential-override strings Credentials to override (ex: --credential-override github.com/example/cred-tool:API_TOKEN=1234) ($GPTSCRIPT_CREDENTIAL_OVERRIDE)
23
-
--debug Enable debug logging ($GPTSCRIPT_DEBUG)
24
-
--debug-messages Enable logging of chat completion calls ($GPTSCRIPT_DEBUG_MESSAGES)
25
-
--default-model string Default LLM model to use ($GPTSCRIPT_DEFAULT_MODEL) (default "gpt-4o")
26
-
--default-model-provider string Default LLM model provider to use, this will override OpenAI settings ($GPTSCRIPT_DEFAULT_MODEL_PROVIDER)
27
-
--disable-cache Disable caching of LLM API responses ($GPTSCRIPT_DISABLE_CACHE)
28
-
--disable-tui Don't use chat TUI but instead verbose output ($GPTSCRIPT_DISABLE_TUI)
29
-
--dump-state string Dump the internal execution state to a file ($GPTSCRIPT_DUMP_STATE)
30
-
--events-stream-to string Stream events to this location, could be a file descriptor/handle (e.g. fd://2), filename, or named pipe (e.g. \\.\pipe\my-pipe) ($GPTSCRIPT_EVENTS_STREAM_TO)
31
-
--force-chat Force an interactive chat session if even the top level tool is not a chat tool ($GPTSCRIPT_FORCE_CHAT)
32
-
--force-sequential Force parallel calls to run sequentially ($GPTSCRIPT_FORCE_SEQUENTIAL)
33
-
-h, --help help for gptscript
34
-
-f, --input string Read input from a file ("-" for stdin) ($GPTSCRIPT_INPUT_FILE)
35
-
--list-models List the models available and exit ($GPTSCRIPT_LIST_MODELS)
36
-
--list-tools List built-in tools and exit ($GPTSCRIPT_LIST_TOOLS)
37
-
--no-trunc Do not truncate long log messages ($GPTSCRIPT_NO_TRUNC)
38
-
--openai-api-key string OpenAI API KEY ($OPENAI_API_KEY)
39
-
--openai-base-url string OpenAI base URL ($OPENAI_BASE_URL)
40
-
--openai-org-id string OpenAI organization ID ($OPENAI_ORG_ID)
41
-
-o, --output string Save output to a file, or - for stdout ($GPTSCRIPT_OUTPUT)
42
-
-q, --quiet No output logging (set --quiet=false to force on even when there is no TTY) ($GPTSCRIPT_QUIET)
43
-
--save-chat-state-file string A file to save the chat state to so that a conversation can be resumed with --chat-state ($GPTSCRIPT_SAVE_CHAT_STATE_FILE)
44
-
--sub-tool string Use tool of this name, not the first tool in file ($GPTSCRIPT_SUB_TOOL)
45
-
--ui Launch the UI ($GPTSCRIPT_UI)
46
-
--workspace string Directory to use for the workspace, if specified it will not be deleted on exit ($GPTSCRIPT_WORKSPACE)
15
+
--cache-dir string Directory to store cache (default: $XDG_CACHE_HOME/gptscript) ($GPTSCRIPT_CACHE_DIR)
16
+
--chat-state string The chat state to continue, or null to start a new chat and return the state ($GPTSCRIPT_CHAT_STATE)
17
+
-C, --chdir string Change current working directory ($GPTSCRIPT_CHDIR)
18
+
--color Use color in output (default true) ($GPTSCRIPT_COLOR)
19
+
--config string Path to GPTScript config file ($GPTSCRIPT_CONFIG)
20
+
--confirm Prompt before running potentially dangerous commands ($GPTSCRIPT_CONFIRM)
21
+
--credential-context string Context name in which to store credentials ($GPTSCRIPT_CREDENTIAL_CONTEXT) (default "default")
22
+
--credential-override strings Credentials to override (ex: --credential-override github.com/example/cred-tool:API_TOKEN=1234) ($GPTSCRIPT_CREDENTIAL_OVERRIDE)
23
+
--debug Enable debug logging ($GPTSCRIPT_DEBUG)
24
+
--debug-messages Enable logging of chat completion calls ($GPTSCRIPT_DEBUG_MESSAGES)
25
+
--default-model string Default LLM model to use ($GPTSCRIPT_DEFAULT_MODEL) (default "gpt-4o")
26
+
--default-model-provider string Default LLM model provider to use, this will override OpenAI settings ($GPTSCRIPT_DEFAULT_MODEL_PROVIDER)
27
+
--disable-cache Disable caching of LLM API responses ($GPTSCRIPT_DISABLE_CACHE)
28
+
--disable-tui Don't use chat TUI but instead verbose output ($GPTSCRIPT_DISABLE_TUI)
29
+
--dump-state string Dump the internal execution state to a file ($GPTSCRIPT_DUMP_STATE)
30
+
--events-stream-to string Stream events to this location, could be a file descriptor/handle (e.g. fd://2), filename, or named pipe (e.g. \\.\pipe\my-pipe) ($GPTSCRIPT_EVENTS_STREAM_TO)
31
+
--force-chat Force an interactive chat session if even the top level tool is not a chat tool ($GPTSCRIPT_FORCE_CHAT)
32
+
--force-sequential Force parallel calls to run sequentially ($GPTSCRIPT_FORCE_SEQUENTIAL)
33
+
--github-enterprise-hostname string The host name for a Github Enterprise instance to enable for remote loading ($GPTSCRIPT_GITHUB_ENTERPRISE_HOSTNAME)
34
+
-h, --help help for gptscript
35
+
-f, --input string Read input from a file ("-" for stdin) ($GPTSCRIPT_INPUT_FILE)
36
+
--list-models List the models available and exit ($GPTSCRIPT_LIST_MODELS)
37
+
--list-tools List built-in tools and exit ($GPTSCRIPT_LIST_TOOLS)
38
+
--no-trunc Do not truncate long log messages ($GPTSCRIPT_NO_TRUNC)
39
+
--openai-api-key string OpenAI API KEY ($OPENAI_API_KEY)
40
+
--openai-base-url string OpenAI base URL ($OPENAI_BASE_URL)
41
+
--openai-org-id string OpenAI organization ID ($OPENAI_ORG_ID)
42
+
-o, --output string Save output to a file, or - for stdout ($GPTSCRIPT_OUTPUT)
43
+
-q, --quiet No output logging (set --quiet=false to force on even when there is no TTY) ($GPTSCRIPT_QUIET)
44
+
--save-chat-state-file string A file to save the chat state to so that a conversation can be resumed with --chat-state ($GPTSCRIPT_SAVE_CHAT_STATE_FILE)
45
+
--sub-tool string Use tool of this name, not the first tool in file ($GPTSCRIPT_SUB_TOOL)
46
+
--ui Launch the UI ($GPTSCRIPT_UI)
47
+
--workspace string Directory to use for the workspace, if specified it will not be deleted on exit ($GPTSCRIPT_WORKSPACE)
Outputstring`usage:"Save output to a file, or - for stdout" short:"o"`
55
56
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
57
// 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