agent

package
v0.1.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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