From 662edf0b4db23c8c57a4db2a142e5ae7bb6d8c74 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Fri, 21 Jun 2024 13:09:37 +0200 Subject: [PATCH] src/openaiExplainPatch.js: move to 4o --- src/openaiExplainPatch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openaiExplainPatch.js b/src/openaiExplainPatch.js index 6d0d853..3248b9f 100644 --- a/src/openaiExplainPatch.js +++ b/src/openaiExplainPatch.js @@ -5,7 +5,7 @@ import { SYSTEM_PROMPT, explainPatchHelper } from './utils.js' export default async function explainPatch ({ apiKey, patchBody, owner, repo, - models = ['gpt-4-0125-preview', 'gpt-3.5-turbo-0125'], + models = ['gpt-4o-2024-05-13', 'gpt-3.5-turbo-0125'], system = SYSTEM_PROMPT, max_tokens = 2048, temperature = 1,