Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ExecutePipeline ¶ added in v0.1.5
func ExecutePipeline(ctx context.Context, issue *pipeline.Issue, cfg *config.Config, deps *pipeline.Dependencies, stepNames []string, silent bool) (*pipeline.Result, error)
ExecutePipeline executes the pipeline for a single issue. This function can be called with silent=true to suppress status reporting, useful for batch processing where status updates are not desired.
Types ¶
type BatchResult ¶ added in v0.1.5
BatchResult represents the result of processing a single issue
type Checkpoint ¶ added in v0.0.3
type JSONOutput ¶ added in v0.1.5
type JSONOutput struct {
ProcessedAt time.Time `json:"processed_at"`
TotalIssues int `json:"total_issues"`
Successful int `json:"successful"`
Failed int `json:"failed"`
Results []ResultEntry `json:"results"`
}
JSONOutput represents the JSON output structure
type PRCandidate ¶ added in v0.2.1
type PRCandidate struct {
Type string `json:"type"`
Number int `json:"number"`
Title string `json:"title"`
Score float64 `json:"score"`
URL string `json:"url"`
}
PRCandidate represents a similar issue or PR found in the vector database.
type PRDuplicateOutput ¶ added in v0.2.1
type PRDuplicateOutput struct {
PR *PRRef `json:"pr"`
Candidates []PRCandidate `json:"candidates"`
DuplicateDetected bool `json:"duplicate_detected"`
DuplicateOf int `json:"duplicate_of,omitempty"`
Confidence float64 `json:"confidence,omitempty"`
Reasoning string `json:"reasoning,omitempty"`
}
PRDuplicateOutput is the JSON-serialisable result of the pr-duplicate command.
Click to show internal directories.
Click to hide internal directories.