diff --git a/src/main.ts b/src/main.ts index c4f5e87..8439954 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,9 +11,9 @@ const OPENAI_API_MODEL: string = core.getInput("OPENAI_API_MODEL"); const octokit = new Octokit({ auth: GITHUB_TOKEN }); -const openai = new OpenAI({ - apiKey: OPENAI_API_KEY, -}); +// const openai = new OpenAI({ +// apiKey: OPENAI_API_KEY, +// }); interface PRDetails { owner: string; @@ -124,20 +124,30 @@ async function getAIResponse(prompt: string): Promise