dont show summaries in frontend

This commit is contained in:
Adam Cohen Hillel 2025-04-17 00:29:02 +01:00
parent 6a59b8e110
commit 0cc2875e56
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ export const getMessages = async (threadId: string): Promise<Message[]> => {
.select('*') .select('*')
.eq('thread_id', threadId) .eq('thread_id', threadId)
.neq('type', 'cost') .neq('type', 'cost')
.neq('type', 'summary')
.order('created_at', { ascending: true }); .order('created_at', { ascending: true });
if (error) { if (error) {