Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
WorkingDirectory string
Mode Mode
Prompt string
SystemPrompt string
Verbose bool
Help bool
Provider string
}
Config holds the configuration for the CLI application
type OneShotHandler ¶
type OneShotHandler struct {
state.Dispatcher
llm.Provider
// contains filtered or unexported fields
}
OneShotHandler handles one-shot mode execution
func NewOneShotHandler ¶
func NewOneShotHandler(config *Config) *OneShotHandler
NewOneShotHandler creates a new one-shot handler
func (*OneShotHandler) Execute ¶
func (h *OneShotHandler) Execute() error
Execute runs the one-shot mode
type ReplHandler ¶
func NewReplHandler ¶
func NewReplHandler(config *Config) *ReplHandler
func (*ReplHandler) Execute ¶
func (h *ReplHandler) Execute() error
Click to show internal directories.
Click to hide internal directories.