Skip to content

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

:art: Clean code

Liang Ding86a62879eaaf
diff --git a/kernel/task/queue.go b/kernel/task/queue.go
index fd657ad106..af1b3c3e08 100644
--- a/kernel/task/queue.go
+++ b/kernel/task/queue.go
@@ -144,7 +144,7 @@ func StatusJob() {
if "" != currentTaskAction {
if nil != actionLangs {
if label := actionLangs[currentTaskAction]; nil != label {
- items = append([]map[string]interface{}{map[string]interface{}{"action": label.(string)}}, items...)
+ items = append([]map[string]interface{}{{"action": label.(string)}}, items...)
}
}
}