Documentation
¶
Index ¶
- Constants
- func AIConfigCommand(con *core.Console) *cobra.Command
- func AIDisableCmd(con *core.Console) error
- func AIEnableCmd(cmd *cobra.Command, con *core.Console) error
- func AIShowCmd(con *core.Console) error
- func AnalyzeCmd(cmd *cobra.Command, con *core.Console, args []string) error
- func AskCmd(cmd *cobra.Command, con *core.Console, args []string) error
- func Commands(con *core.Console) []*cobra.Command
Constants ¶
View Source
const ( ProviderOpenAI = "openai" ProviderClaude = "claude" ProviderAnthropic = "anthropic" EndpointOpenAI = "https://api.openai.com/v1" EndpointAnthropic = "https://api.anthropic.com/v1" DefaultModel = "gpt-4" DefaultMaxTokens = 1024 DefaultTimeout = 30 DefaultHistory = 20 )
Provider constants
Variables ¶
This section is empty.
Functions ¶
func AIConfigCommand ¶
AIConfigCommand returns the ai subcommand for use under `config`.
func AIDisableCmd ¶
AIDisableCmd disables the AI assistant.
func AIEnableCmd ¶
AIEnableCmd enables AI and updates configuration flags.
func AnalyzeCmd ¶
AnalyzeCmd handles the analyze command - analyzes errors and provides suggestions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.