feat: parse and include referenced issues as prompt context (#12)

This commit is contained in:
2025-02-23 13:08:08 +01:00
parent 3a18c25b3c
commit a49254c9ed
11 changed files with 229 additions and 23 deletions

View File

@ -12,8 +12,10 @@ var (
)
type Forge interface {
GetProjects(ctx context.Context) ([]*model.Project, error)
GetAllProjects(ctx context.Context) ([]*model.Project, error)
CreateIssue(ctx context.Context, projectID string, title string, body string) (string, error)
GetIssues(ctx context.Context, projectID string, issueIDs ...string) ([]*model.Issue, error)
GetIssueTemplate(ctx context.Context, projectID string) (string, error)
GetProjectLanguages(ctx context.Context, projectID string) ([]string, error)
GetProject(ctx context.Context, projectID string) (*model.Project, error)
}