|
@@ -164,6 +164,9 @@
|
|
|
debounceTimeout = setTimeout(async () => {
|
|
|
const res = await updateNoteById(localStorage.token, id, {
|
|
|
title: note?.title === '' ? $i18n.t('Untitled') : note.title,
|
|
|
+ data: {
|
|
|
+ files: files
|
|
|
+ },
|
|
|
access_control: note?.access_control
|
|
|
}).catch((e) => {
|
|
|
toast.error(`${e}`);
|
|
@@ -428,6 +431,8 @@ ${content}
|
|
|
} else {
|
|
|
note.data.files = null;
|
|
|
}
|
|
|
+
|
|
|
+ changeDebounceHandler();
|
|
|
};
|
|
|
|
|
|
const inputFilesHandler = async (inputFiles) => {
|
|
@@ -632,7 +637,7 @@ Input will be provided within <notes> and <context> XML tags, providing a struct
|
|
|
|
|
|
# Output Format
|
|
|
|
|
|
-Provide the enhanced notes in markdown format. Use markdown syntax for headings, lists (ordered, bullet, or checklist), and emphasis to improve clarity and presentation. Ensure that all integrated content from the context is accurately reflected. Return only the markdown formatted note.
|
|
|
+Provide the enhanced notes in markdown format. Use markdown syntax for headings, lists, task lists ([ ]) where tasks or checklists are implied, and emphasis to improve clarity and presentation. Ensure that all integrated content from the context is accurately reflected. Return only the markdown formatted note.
|
|
|
`;
|
|
|
|
|
|
const [res, controller] = await chatCompletion(
|