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
Remove three no-op self-assignments (#18652)
Dmitryc12abf3f7f02
diff --git a/api/db/services/conversation_service.py b/api/db/services/conversation_service.pyindex 60765cf184..5101d0a151 100644--- a/api/db/services/conversation_service.py+++ b/api/db/services/conversation_service.py@@ -333,7 +333,6 @@ async def async_iframe_completion(dialog_id, question, session_id=None, stream=Tyield "data:" + json.dumps({"code": 0, "message": "", "data": True}, ensure_ascii=False) + "\n\n"returnelse:- session_id = session_ide, conv = API4ConversationService.get_by_id(session_id)assert e, "Session not found!"assert conv.dialog_id == dialog_id, "Session does not belong to this dialog"diff --git a/rag/app/naive.py b/rag/app/naive.pyindex ffd37266f4..c6ca84cd5d 100644--- a/rag/app/naive.py+++ b/rag/app/naive.py@@ -114,8 +114,6 @@ def _normalize_section_text_for_rtl_presentation_forms(sections):def by_deepdoc(filename, binary=None, from_page=0, to_page=MAXIMUM_PAGE_NUMBER, lang="Chinese", callback=None, pdf_cls=None, **kwargs):- callback = callback- binary = binarypdf_parser = pdf_cls() if pdf_cls else Pdf()sections, tables = pdf_parser(filename if not binary else binary, from_page=from_page, to_page=to_page, callback=callback)