Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeveloperMessage ¶
func DeveloperMessage(content string) openai.ChatCompletionMessageParamUnion
Types ¶
type Config ¶
type Config struct { Workspace string Model string BaseUrl string ApiKey string L1Model string L1BaseUrl string L1ApiKey string L2Model string L2BaseUrl string L2ApiKey string L3Model string L3BaseUrl string L3ApiKey string Debug bool DryRun bool DryRunContent string Editor string // Current working directory where AI script is executed WorkDir string Interactive bool Clipin bool Clipout bool Stdin bool Me string MetaPrompt bool Command string Args []string Tools []openai.ChatCompletionToolParam DBConfig *db.DBConfig `mapstructure:"db"` ConfigFile string // ai binary path CommandPath string // Git *GitConfig }
type Level ¶
type Level int
Level represents the "intelligence" level of the model. i.e. basic, regular, advanced for example, OpenAI: gpt-4o-mini, gpt-4o, gpt-o1
Click to show internal directories.
Click to hide internal directories.