Skip to content

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

Fix: long name error (#22088)

Wang Qi2fae4ca9bcf3
diff --git a/internal/handler/file.go b/internal/handler/file.go
index 65fca220b1..2402292d18 100644
--- a/internal/handler/file.go
+++ b/internal/handler/file.go
@@ -400,7 +400,7 @@ func (h *FileHandler) DeleteFiles(c *gin.Context) {
type MoveFileRequest struct {
SrcFileIDs []string `json:"src_file_ids" binding:"required,min=1"`
DestFileID string `json:"dest_file_id"`
- NewName string `json:"new_name" binding:"max=255"`
+ NewName string `json:"new_name"`
}
// MoveFiles moves and/or renames files