Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

GO:Cli fix show user storage display truncation (#16805)

maoyifengc33a5a9d491b
diff --git a/internal/cli/response.go b/internal/cli/response.go
index c4adb3591d..c90c030e18 100644
--- a/internal/cli/response.go
+++ b/internal/cli/response.go
@@ -129,6 +129,9 @@ func (r *CommonDataResponse) SetOutputFormat(format OutputFormat) {
func (r *CommonDataResponse) orderedMetricTable() []map[string]interface{} {
table := make([]map[string]interface{}, 0)
for key, value := range r.Data {
+ if _, ok := value.([]interface{}); ok {
+ continue
+ }
table = append(table, map[string]interface{}{
"Metric": key,
"Value": value,