Skip to content

Commit

Permalink
added diff
Browse files Browse the repository at this point in the history
  • Loading branch information
bemijonathan committed Oct 6, 2023
1 parent 846022a commit 14ddcf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/steps/summarize-changes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 14ddcf7

Please sign in to comment.