. 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.
. Updated
writeCodeForGithub
andwriteCodeForGitlab
functions to add a generated summary comment to pull requests. . IntroducedgeneratePRSummary
function utilizing OpenAI to create pull request summaries. . Added new source filessrc/components/settings/pr-summaries/index.tsx
andindex.module.scss
. . Updated import statements inwrite-code-for-github.ts
andwrite-code-for-gitlab.ts
to includegeneratePRSummary
. . 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 commandsnpm install openai
oryarn add openai
. . Ensured summaries are only added to new pull requests, as updating existing comments requires additional functionality beyond this implementation.