diff --git a/src/steps/summarize-changes.ts b/src/steps/summarize-changes.ts index c28747d..e144385 100644 --- a/src/steps/summarize-changes.ts +++ b/src/steps/summarize-changes.ts @@ -13,6 +13,8 @@ export async function summarizeChanges( const openAiKey = core.getInput('openAIKey') + Logger.log('creating openai model', openAiKey.length ? 'with key' : 'without key') + const model = new OpenAI( { temperature: 0.7, openAIApiKey: openAiKey, "model": "davinci" }, )