Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ProcessValue ¶ added in v0.27.0
ProcessValue recursively looks for MapSlices to rename 'kind' -> 'type'
Types ¶
type Command ¶
Command represents an invocation of the CLI.
func NewCommand ¶
NewCommand returns a Command object representing an invocation of the CLI.
func (*Command) Config ¶ added in v0.27.0
func (cmd *Command) Config() server.ServerConfig
func (*Command) LoadConfig ¶ added in v0.27.0
type Option ¶ added in v0.0.3
type Option func(*Command)
Option is a function that configures a Command.
func WithStreams ¶ added in v0.0.3
WithStreams overrides the default writer.
type ToolsFile ¶ added in v0.0.4
type ToolsFile struct {
Sources server.SourceConfigs `yaml:"sources"`
AuthServices server.AuthServiceConfigs `yaml:"authServices"`
EmbeddingModels server.EmbeddingModelConfigs `yaml:"embeddingModels"`
Tools server.ToolConfigs `yaml:"tools"`
Toolsets server.ToolsetConfigs `yaml:"toolsets"`
Prompts server.PromptConfigs `yaml:"prompts"`
}
Click to show internal directories.
Click to hide internal directories.