Documentation
¶
Index ¶
- func AllowedAreas() []string
- func AllowedComplexities() []string
- func AllowedDispatches() []string
- func AllowedKinds() []string
- func AllowedLabelUniverse() []string
- func BuildPrompt(input Input) string
- func LimitPerTick[T any](items []T, max int) []T
- func SearchTokens(issue Issue) []string
- func ShouldReTriage(issue Issue, cfg Config, _ time.Time) bool
- func ShouldTriage(issue Issue, cfg Config, now time.Time) bool
- type Comment
- type Config
- type Decision
- type Disposition
- type Input
- type Issue
- type LLM
- type RepoContext
- type Request
- type TimelineEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedAreas ¶
func AllowedAreas() []string
func AllowedComplexities ¶
func AllowedComplexities() []string
func AllowedDispatches ¶
func AllowedDispatches() []string
func AllowedKinds ¶
func AllowedKinds() []string
func AllowedLabelUniverse ¶
func AllowedLabelUniverse() []string
func BuildPrompt ¶
func LimitPerTick ¶
func SearchTokens ¶
Types ¶
type Decision ¶
type Decision struct {
NoOp bool
Disposition Disposition
ClearLabelPatterns []string
RemoveLabels []string
ApplyLabels []string
CommentBody string
MarkTriaged bool
}
func NoOpDecision ¶
func NoOpDecision() Decision
func ReTriageDecision ¶
type Disposition ¶
type Disposition string
const ( DispositionValid Disposition = "valid" DispositionOutOfScope Disposition = "out-of-scope" DispositionUnclear Disposition = "unclear" )
type RepoContext ¶
type TimelineEvent ¶
Click to show internal directories.
Click to hide internal directories.