Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func SaveConfig ¶
Types ¶
type AgentResponse ¶
type AgentResponse struct {
Status AgentStatus `json:"status"`
Questions []string `json:"questions,omitempty"`
Title string `json:"title,omitempty"`
Body string `json:"body,omitempty"`
Rationale string `json:"rationale,omitempty"`
}
func (AgentResponse) IsReady ¶
func (r AgentResponse) IsReady() bool
type AgentStatus ¶
type AgentStatus string
const ( StatusNeedsInfo AgentStatus = "needs_info" StatusReady AgentStatus = "ready" )
type Config ¶
type Config struct {
Repo string `json:"repo"`
Model string `json:"model"`
OllamaHost string `json:"ollamaHost"`
TimeoutSec int `json:"timeoutSec"`
MaxTurns int `json:"maxTurns"`
Sound bool `json:"sound"`
Debug bool `json:"debug"`
TemplateDir string `json:"templateDir"`
}
func DefaultConfig ¶
func DefaultConfig() Config
func LoadConfig ¶
type Template ¶
type Template struct {
Filename string `json:"filename"`
Name string `yaml:"name" json:"name"`
About string `yaml:"about" json:"about"`
Title string `yaml:"title" json:"title"`
Labels []string `yaml:"labels" json:"labels"`
Assignees []string `yaml:"assignees" json:"assignees"`
Body string `json:"body"`
}
func (Template) DisplayName ¶
Click to show internal directories.
Click to hide internal directories.