From 14ddcf7d6ed2e326209118c29465ff529b2c90ed Mon Sep 17 00:00:00 2001 From: Jonathan Atiene <34762800+bemijonathan@users.noreply.github.com> Date: Fri, 6 Oct 2023 23:24:51 +0100 Subject: [PATCH] added diff --- src/steps/summarize-changes.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/steps/summarize-changes.ts b/src/steps/summarize-changes.ts index 7a9a650..39c29e3 100644 --- a/src/steps/summarize-changes.ts +++ b/src/steps/summarize-changes.ts @@ -13,8 +13,7 @@ export async function summarizeChanges( Logger.log('summarizing changes') const openAiKey = core.getInput('openAIKey') const model = new OpenAI( - { temperature: 0 }, - { apiKey: openAiKey } + { temperature: 0, openAIApiKey: openAiKey }, ) Logger.log('created model') const textSplitter = new RecursiveCharacterTextSplitter({