agent

package
v0.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIGenerationStrategy

type AIGenerationStrategy struct {
	// contains filtered or unexported fields
}

AIGenerationStrategy implements code generation using AI agents

func NewAIGenerationStrategy

func NewAIGenerationStrategy(agentDetector *agents.Detector, templateEngine *templates.TemplateEngine, logger logger.Logger) *AIGenerationStrategy

NewAIGenerationStrategy creates a new AI-based generation strategy

func (*AIGenerationStrategy) GenerateCode

func (s *AIGenerationStrategy) GenerateCode(ctx context.Context, opportunities []domain.Opportunity, req types.GenerationRequest) error

GenerateCode generates code using AI agents

func (*AIGenerationStrategy) GetName

func (s *AIGenerationStrategy) GetName() string

GetName returns the name of this strategy

func (*AIGenerationStrategy) GetRequiredFlags

func (s *AIGenerationStrategy) GetRequiredFlags() []string

GetRequiredFlags returns flags required for AI generation

func (*AIGenerationStrategy) IsAvailable

func (s *AIGenerationStrategy) IsAvailable() bool

IsAvailable checks if AI agents are available on the system

func (*AIGenerationStrategy) SetAnalysisContext

func (s *AIGenerationStrategy) SetAnalysisContext(analysis *detector.Analysis)

SetAnalysisContext provides analysis-derived context to include in agent prompts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL