Skip to content

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

Remove duplicated tag_feas assignment in create route (api/apps/chunk_app.py) (#12392)

KKM89a97be2c51c
diff --git a/api/apps/chunk_app.py b/api/apps/chunk_app.py
index 1a7bed0c63..00580b9589 100644
--- a/api/apps/chunk_app.py
+++ b/api/apps/chunk_app.py
@@ -260,8 +260,6 @@ async def create():
d["create_timestamp_flt"] = datetime.datetime.now().timestamp()
if "tag_feas" in req:
d["tag_feas"] = req["tag_feas"]
- if "tag_feas" in req:
- d["tag_feas"] = req["tag_feas"]
try:
def _create_sync():