Skip to content

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

:art: Clear history

Liang Dingea4f722edb87
diff --git a/kernel/api/history.go b/kernel/api/history.go
index 0255a09ead..bf64d18005 100644
--- a/kernel/api/history.go
+++ b/kernel/api/history.go
@@ -71,6 +71,7 @@ func clearWorkspaceHistory(c *gin.Context) {
return
}
util.PushClearMsg(msgId)
+ time.Sleep(500 * time.Millisecond)
util.PushMsg(model.Conf.Language(99), 1000*5)
}