File tree Expand file tree Collapse file tree 4 files changed +2
-11
lines changed Expand file tree Collapse file tree 4 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ type GPTScript struct {
5757 Assemble bool `usage:"Assemble tool to a single artifact, saved to --output" hidden:"true" local:"true"`
5858 ListModels bool `usage:"List the models available and exit" local:"true"`
5959 ListTools bool `usage:"List built-in tools and exit" local:"true"`
60+ ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0" hidden:"true"`
6061 Chdir string `usage:"Change current working directory" short:"C"`
6162 Daemon bool `usage:"Run tool as a daemon" local:"true" hidden:"true"`
6263 Ports string `usage:"The port range to use for ephemeral daemon ports (ex: 11000-12000)" hidden:"true"`
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ import (
1111
1212type SDKServer struct {
1313 * GPTScript
14- ListenAddress string `usage:"Server listen address" default:"127.0.0.1:0" local:"true"`
1514}
1615
1716func (c * SDKServer ) Customize (cmd * cobra.Command ) {
1817 cmd .Use = "sys.sdkserver"
1918 cmd .Args = cobra .NoArgs
19+ cmd .Aliases = []string {"sdkserver" }
2020 cmd .Hidden = true
2121}
2222
Original file line number Diff line number Diff line change 1- //go:build !linux
2-
31package system
42
53import (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments