feat: chat with notes

This commit is contained in:
Timothy Jaeryang Baek
2025-07-07 20:19:17 +04:00
parent b3001f95f6
commit a3c2018a4a
2 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -86,6 +86,7 @@
versions: [],
files: null
},
// pages: [], // TODO: Implement pages for notes to allow users to create multiple pages in a note
meta: null,
access_control: null
};
@@ -1034,7 +1035,7 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
</Pane>
<NotePanel bind:show={showPanel}>
{#if selectedPanel === 'chat'}
<Chat bind:show={showPanel} bind:selectedModelId bind:messages />
<Chat bind:show={showPanel} bind:selectedModelId bind:messages {files} {note} />
{:else if selectedPanel === 'settings'}
<Settings bind:show={showPanel} bind:selectedModelId />
{/if}