Skip to content

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

:art: Clean code

Danielca51c4cf8a6b
diff --git a/kernel/util/path.go b/kernel/util/path.go
index c1d2f6b335..100742cb42 100644
--- a/kernel/util/path.go
+++ b/kernel/util/path.go
@@ -293,7 +293,7 @@ func IsPossiblyImage(assetPath string) bool {
}
if strings.HasPrefix(assetPath, "https://") || strings.HasPrefix(assetPath, "http://") {
- // 网络图片链接不一定有拓展名
+ // 网络图片链接不一定有扩展名
return true
}