An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 云端收集箱文档内添加刷新按钮 https://github.com/siyuan-note/siyuan/issues/6306
Liang Dingcd99b9fa9d6b
diff --git a/kernel/model/liandi.go b/kernel/model/liandi.goindex d316982918..6b703a1215 100644--- a/kernel/model/liandi.go+++ b/kernel/model/liandi.go@@ -357,8 +357,8 @@ func RemoveCloudShorthands(ids []string) (err error) {return}-func GetCloudShorthand(id string) (result map[string]interface{}, err error) {- result = map[string]interface{}{}+func GetCloudShorthand(id string) (ret map[string]interface{}, err error) {+ result := map[string]interface{}{}request := httpclient.NewCloudRequest()resp, err := request.SetResult(&result).@@ -381,10 +381,10 @@ func GetCloudShorthand(id string) (result map[string]interface{}, err error) {err = errors.New(result["msg"].(string))return}- shorthand := result["data"].(map[string]interface{})+ ret = result["data"].(map[string]interface{})t, _ := strconv.ParseInt(id, 10, 64)hCreated := util.Millisecond2Time(t)- shorthand["hCreated"] = hCreated.Format("2006-01-02 15:04")+ ret["hCreated"] = hCreated.Format("2006-01-02 15:04")return}