Skip to content

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

trival (#2779)

Kevin Hu51efecf4b5fa
diff --git a/api/apps/document_app.py b/api/apps/document_app.py
index 83f7b36323..450b9ae936 100644
--- a/api/apps/document_app.py
+++ b/api/apps/document_app.py
@@ -213,7 +213,7 @@ def list_docs():
for doc_item in docs:
if doc_item['thumbnail'] and not doc_item['thumbnail'].startswith(IMG_BASE64_PREFIX):
- doc_item['thumbnail'] = f'/v1/document/image/{kb_id}-{doc_item['thumbnail']}'
+ doc_item['thumbnail'] = f"/v1/document/image/{kb_id}-{doc_item['thumbnail']}"
return get_json_result(data={"total": tol, "docs": docs})
except Exception as e: