Skip to content

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

:art: Improve clear workspace

Daniel8495038694d8
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index e3d424e37c..7c8672bb78 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -1001,6 +1001,7 @@ func clearWorkspaceTemp() {
os.RemoveAll(filepath.Join(util.TempDir, "import"))
os.RemoveAll(filepath.Join(util.TempDir, "repo"))
os.RemoveAll(filepath.Join(util.TempDir, "os"))
+ os.RemoveAll(filepath.Join(util.TempDir, "base64"))
os.RemoveAll(filepath.Join(util.TempDir, "blocktree.msgpack")) // v2.7.2 前旧版的块树数据
os.RemoveAll(filepath.Join(util.TempDir, "blocktree")) // v3.1.0 前旧版的块树数据