Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUserAborted = huh.ErrUserAborted
ErrUserAborted exposes the huh user-abort sentinel for callers.
Functions ¶
func AIConfig ¶ added in v1.7.4
func AIConfig(result *AIConfigFormResult) error
AIConfig prompts for the server-side AI configuration stored in ai.yaml.
func EditAIConfig ¶ added in v1.7.4
func EditAIConfig(result *AIConfigFormResult) error
EditAIConfig prompts for the provider-independent and provider-specific AI settings.
func SelectAIProvider ¶ added in v1.7.4
func SelectAIProvider(result *AIConfigFormResult) error
SelectAIProvider prompts for the AI provider to edit.
Types ¶
type AIConfigFormResult ¶ added in v1.7.4
type AIConfigFormResult struct {
Provider string
Models []string
ThinkingLevel string
SystemPrompt string
APIKey string
BaseURL string
UserAgent string
Organization string
Project string
Location string
UseResponsesAPI bool
SkipAuth bool
UseBedrock bool
}
AIConfigFormResult captures the server-side AI configuration collected from the form.
Click to show internal directories.
Click to hide internal directories.