Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix: add missing closing brace in checkOSS function

bingxiang.cheng4054715d54bc
diff --git a/internal/handler/system.go b/internal/handler/system.go
index 91c2b1f31..7cdeaa5a5 100644
--- a/internal/handler/system.go
+++ b/internal/handler/system.go
@@ -1026,6 +1026,8 @@ func (h *SystemHandler) checkOSS(c *gin.Context, ctx context.Context, cfg *types
}
c.JSON(200, gin.H{"code": 0, "data": StorageCheckResponse{OK: true, Message: fmt.Sprintf("连接成功,Bucket「%s」已确认存在", cfg.BucketName)}})
+}
+
func (h *SystemHandler) ResolveDocumentReader(ctx context.Context, addr string) interfaces.DocumentReader {
if addr == "" {
return h.documentReader