Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayFromBardReponse ¶
ArrayFromBardResponse is a convenience function that cleans up a string Bard response for a list of dependencies.
func TrimSpaces ¶
Types ¶
type AutodevClient ¶
func NewAutodevClient ¶
func NewAutodevClient(ctx context.Context, api_key string) *AutodevClient
type AutodevConfig ¶
type AutodevConfig struct { AgentName string AgentLanguage string ErrToDebug string Prompts AutodevPrompts }
func (*AutodevConfig) SetAgentLanguageFromPaths ¶
func (c *AutodevConfig) SetAgentLanguageFromPaths(paths []string) error
type AutodevDebugErrorPrompts ¶
type AutodevDebugErrorPrompts struct {
Prompts map[string]map[AutodevDebugErrorTasks]string
}
func NewAutodevDebugErrorPrompts ¶
func NewAutodevDebugErrorPrompts() *AutodevDebugErrorPrompts
func (*AutodevDebugErrorPrompts) GetPrompts ¶
func (p *AutodevDebugErrorPrompts) GetPrompts(task interface{}, language string) (string, error)
type AutodevDebugErrorTasks ¶
type AutodevDebugErrorTasks int
const ( DebugError AutodevDebugErrorTasks = iota FindRunFunction )
type AutodevDockerfilePrompts ¶
type AutodevDockerfilePrompts struct {
Prompts map[string]map[AutodevDockerfileTasks]string
}
func NewAutodevDockerfilePrompts ¶
func NewAutodevDockerfilePrompts() *AutodevDockerfilePrompts
NewAutodevDockerfilePrompts is a constructor that initializes the prompt fields.
func (*AutodevDockerfilePrompts) GetPrompts ¶
func (p *AutodevDockerfilePrompts) GetPrompts(task interface{}, language string) (string, error)
type AutodevDockerfileTasks ¶
type AutodevDockerfileTasks int
const ( ListSystemDependencies AutodevDockerfileTasks = iota ListLanugageSpecificDependencies ListImports RemoveStdLib UpdateAgentDockerfile GetEnvironmentManager )
type AutodevPrompts ¶
Click to show internal directories.
Click to hide internal directories.