homie-gg / homie

2 stars 0 forks source link

Implemented auto-generated summary comments for GitHub and GitLab pull requests. #301

Closed homie-dev-mike[bot] closed 1 month ago

homie-dev-mike[bot] commented 1 month ago

. Updated writeCodeForGithub and writeCodeForGitlab functions to add a generated summary comment to pull requests. . Introduced generatePRSummary function utilizing OpenAI to create pull request summaries. . Added new source files src/components/settings/pr-summaries/index.tsx and index.module.scss. . Updated import statements in write-code-for-github.ts and write-code-for-gitlab.ts to include generatePRSummary. . Summaries are added as comments in new pull requests via GitHub and GitLab APIs. . Provided instructions to install OpenAI package needed for generating summaries with commands npm install openai or yarn add openai. . Ensured summaries are only added to new pull requests, as updating existing comments requires additional functionality beyond this implementation.