Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAiModel string = "gpt-4.1"
View Source
const DefaultTimeout int64 = 120
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopilotEvent ¶
type CopilotInput ¶
type CopilotInput struct {
LogFile string `json:"log_file"`
Cwd string `json:"cwd"`
LogLevel string `json:"log_level"`
Env []string `json:"env"`
Prompt string `json:"prompt"`
GitHubToken string `json:"token"`
AiModel string `json:"ai_model"`
SystemPrompt string `json:"system_prompt"`
ExcludeTools []string `json:"exclude_tools"`
Skills []string `json:"skills"`
LocalMcpServers map[string]copilot.MCPLocalServerConfig `json:"local_mcp_servers"`
RemoteMcpServers map[string]copilot.MCPRemoteServerConfig `json:"remote_mcp_servers"`
Timeout int64 `json:"timeout_sec"`
}
func (CopilotInput) GetLogFile ¶
func (c CopilotInput) GetLogFile() (string, error)
func (CopilotInput) GetMcpServers ¶
func (c CopilotInput) GetMcpServers() map[string]any
func (CopilotInput) GetToken ¶
func (c CopilotInput) GetToken() (string, error)
type CopilotTasks ¶
type CopilotTasks struct {
Tasks []CopilotInput `json:"tasks"`
}
func (*CopilotTasks) Validate ¶
func (t *CopilotTasks) Validate() error
Click to show internal directories.
Click to hide internal directories.