Skip to content

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

:art: Improve remove workspace dir path https://ld246.com/article/1703151906396

Danielb1f0e325b9a0
diff --git a/kernel/api/workspace.go b/kernel/api/workspace.go
index bf489e25b3..bdda877c35 100644
--- a/kernel/api/workspace.go
+++ b/kernel/api/workspace.go
@@ -160,10 +160,6 @@ func removeWorkspaceDir(c *gin.Context) {
ret.Msg = err.Error()
return
}
-
- if util.WorkspaceDir == path && (util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container) {
- os.Exit(logging.ExitCodeOk)
- }
}
func removeWorkspaceDirPhysically(c *gin.Context) {