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: Improve cloud sync API count display
Daniel285b219e7f61
diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex 31ca148e33..9ab86600d9 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -1779,8 +1779,8 @@ func GetCloudSpace() (s *Sync, b *Backup, hSize, hAssetSize, hTotalSize, hExchanhExchangeSize = humanize.Bytes(uint64(Conf.User.UserSiYuanPointExchangeRepoSize))hTrafficUploadSize = humanize.Bytes(uint64(Conf.User.UserTrafficUpload))hTrafficDownloadSize = humanize.Bytes(uint64(Conf.User.UserTrafficDownload))- hTrafficAPIGet = fmt.Sprintf("%d", int(Conf.User.UserTrafficAPIGet))- hTrafficAPIPut = fmt.Sprintf("%d", int(Conf.User.UserTrafficAPIPut))+ hTrafficAPIGet = humanize.SIWithDigits(Conf.User.UserTrafficAPIGet, 2, "")+ hTrafficAPIPut = humanize.SIWithDigits(Conf.User.UserTrafficAPIPut, 2, "")}return}