Switch to gpt-4o-mini

This commit is contained in:
Jared Palmer 2024-11-15 10:15:49 -05:00
parent 6d16f67280
commit e2a1f9a398

View file

@ -16,7 +16,7 @@ export async function generateTitleFromUserMessage({
message: CoreUserMessage; message: CoreUserMessage;
}) { }) {
const { text: title } = await generateText({ const { text: title } = await generateText({
model: customModel('gpt-3.5-turbo'), model: customModel('gpt-4o-mini'),
system: `\n system: `\n
- you will generate a short title based on the first message a user begins a conversation with - 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 - ensure it is not more than 80 characters long