We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b593196 commit 4cda78dCopy full SHA for 4cda78d
frontend/web/app/(chat)/actions.ts
@@ -35,7 +35,9 @@ export async function generateTitleFromUserMessage({
35
}
36
37
export async function deleteTrailingMessages({ id }: { id: string }) {
38
- const [message] = await getMessageById({ id });
+ // const [message] = await getMessageById({ id });
39
+ console.log('not implemented');
40
+ const message = { chatId: '1', createdAt: new Date() };
41
42
await deleteMessagesByChatIdAfterTimestamp({
43
chatId: message.chatId,
0 commit comments