From e2a1f9a398989542a20a73e1ef63d8a5fde9714d Mon Sep 17 00:00:00 2001 From: Jared Palmer Date: Fri, 15 Nov 2024 10:15:49 -0500 Subject: [PATCH] Switch to gpt-4o-mini --- app/(chat)/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(chat)/actions.ts b/app/(chat)/actions.ts index 1887e4e..9a1c8fa 100644 --- a/app/(chat)/actions.ts +++ b/app/(chat)/actions.ts @@ -16,7 +16,7 @@ export async function generateTitleFromUserMessage({ message: CoreUserMessage; }) { const { text: title } = await generateText({ - model: customModel('gpt-3.5-turbo'), + model: customModel('gpt-4o-mini'), system: `\n - you will generate a short title based on the first message a user begins a conversation with - ensure it is not more than 80 characters long