Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessa3cd7d9fd3e42
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index 8b321718fd..b371a0cc3c 100644
--- a/app/src/dialog/processSystem.ts
+++ b/app/src/dialog/processSystem.ts
@@ -202,9 +202,9 @@ export const setDefRefCount = (data: {
}
}
if (data.refCount === 0) {
- item.removeAttribute("refcount")
+ item.removeAttribute("refcount");
} else {
- item.setAttribute("refcount", data.refCount.toString())
+ item.setAttribute("refcount", data.refCount.toString());
}
});
});