Minor fix

This commit is contained in:
Olivier Tremblay 2025-11-10 14:30:17 -05:00
parent 254c29b1d7
commit 4cdabbe4f5
3 changed files with 11 additions and 10 deletions

View file

@ -29,11 +29,11 @@ func SummarizeData(employeename string, prs map[string][]contributions.PullReque
fullPrompt += fmt.Sprintf(" Body: %s\n", pr.Body)
}
}
fullPrompt += fmt.Sprintf("Issues:")
fullPrompt += "Issues:\n"
for _, issue := range issues {
fullPrompt += fmt.Sprintf("Summary: %s\n", issue.Summary)
fullPrompt += fmt.Sprintf("Description: %s\n", issue.Description)
fullPrompt += fmt.Sprintf("--------")
fullPrompt += "--------\n"
}
// Get OpenAI endpoint and token from environment variables