Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AICommand = &gcli.Command{ Name: "ai", Desc: "AI tool command", Subs: []*gcli.Command{ NewAIChatCmd(), NewQuestionCmd(), NewTranslateCmd(), NewAIToolCmd(), }, }
Functions ¶
Types ¶
type AICommonOptions ¶
type AICommonOptions struct {
// custom set llm model name
Model string
// custom set llm provider name. eg: openai, deepseek, aliyun/bailian, siliconflow
Provider string
SystemMsg string
}
func (*AICommonOptions) BindFlags ¶
func (o *AICommonOptions) BindFlags(c *gcli.Command)
BindFlags for common options
type AITerminal ¶
type AITerminal struct {
AICommonOptions
SystemPrompt string
// contains filtered or unexported fields
}
func (*AITerminal) Run ¶
func (at *AITerminal) Run()
Click to show internal directories.
Click to hide internal directories.