diff --git a/frontend/src/components/ChatPanel.vue b/frontend/src/components/ChatPanel.vue index b869043..d8290f2 100644 --- a/frontend/src/components/ChatPanel.vue +++ b/frontend/src/components/ChatPanel.vue @@ -29,8 +29,6 @@ const noteSearchResults = ref<{ id: number; title: string }[]>([]); const noteSearchLoading = ref(false); let noteSearchTimer: ReturnType | null = null; -// Exclude tracking -const excludedNoteIds = ref>(new Set()); const streamingRendered = computed(() => { if (!store.streamingContent) return ""; @@ -65,11 +63,7 @@ async function sendMessage() { messageInput.value = ""; resetTextareaHeight(); scrollToBottom(); - await store.sendMessage( - content, - contextNoteId, - excludedNoteIds.value.size ? [...excludedNoteIds.value] : undefined, - ); + await store.sendMessage(content, contextNoteId); scrollToBottom(); } @@ -151,10 +145,6 @@ function removeAttachedNote() { function promoteAutoNote(note: { id: number; title: string }) { attachedNote.value = note; } - -function excludeAutoNote(noteId: number) { - excludedNoteIds.value = new Set([...excludedNoteIds.value, noteId]); -}