Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set via ldflags at build time (GoReleaser, Makefile).
Functions ¶
func NewRootCommand ¶
Types ¶
type ChatOptions ¶
type ChatOptions struct {
Interactive bool
Model string
Temperature float32
MaxTokens int
TopP float32
ProviderURL string
ListModels bool
SystemPrompt string
MaxHistory int
PresetPrompt string
Output string // "text" or "json"
NoSave bool // disable auto-save in interactive mode
SessionName string // custom session name (instead of auto-generated ID)
ContinueID string // resume an existing session
ProviderType provider.ProviderType // registry key, set by newProviderCommand
}
Click to show internal directories.
Click to hide internal directories.