Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
style(files): wrap long test case to satisfy lll
wizardchen22404e92b79d
diff --git a/internal/application/service/file/canonical_path_parse_test.go b/internal/application/service/file/canonical_path_parse_test.goindex 06efd64cf..d40bf7235 100644--- a/internal/application/service/file/canonical_path_parse_test.go+++ b/internal/application/service/file/canonical_path_parse_test.go@@ -19,7 +19,11 @@ func TestStorageBackendInnerPath(t *testing.T) {{"canonical s3 path", "storage://be-1/s3://weknora/data/a.jpg", "s3://weknora/data/a.jpg"},{"canonical minio path", "storage://be-1/minio://weknora/data/a.jpg", "minio://weknora/data/a.jpg"},{"bare provider path unchanged", "s3://weknora/data/a.jpg", "s3://weknora/data/a.jpg"},- {"legacy URL unchanged", "https://bucket.cos.region.myqcloud.com/a.jpg", "https://bucket.cos.region.myqcloud.com/a.jpg"},+ {+ "legacy URL unchanged",+ "https://bucket.cos.region.myqcloud.com/a.jpg",+ "https://bucket.cos.region.myqcloud.com/a.jpg",+ },{"resource handle unchanged", "resource://abc123", "resource://abc123"},}for _, tc := range cases {