RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix CLI output truncation (#21052)
Jin Hai8ff96a563abd
diff --git a/internal/cli/table.go b/internal/cli/table.goindex 26130634c3..29119fa0d1 100644--- a/internal/cli/table.go+++ b/internal/cli/table.go@@ -180,13 +180,6 @@ func PrintTableSimpleByFormat(data []map[string]interface{}, format OutputFormatrowParts := make([]string, 0, len(columns))for _, col := range columns {value := formatValue(item[col])- valueWidth := getStringWidth(value)- // Truncate if too long- if valueWidth > colWidths[col] {- runes := []rune(value)- value = truncateStringByWidth(runes, colWidths[col])- valueWidth = getStringWidth(value)- }// Pad to column widthrowParts = append(rowParts, fmt.Sprintf(" %s ", padCell(value, colWidths[col], false)))}