Skip to content

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

[Bug]: IndentationError: unindent does not match any outer indentatio… (#1579)

narendrab54d5807f315
diff --git a/graph/component/duckduckgo.py b/graph/component/duckduckgo.py
index 06928445b5..bf7713e627 100644
--- a/graph/component/duckduckgo.py
+++ b/graph/component/duckduckgo.py
@@ -57,8 +57,8 @@ class DuckDuckGo(ComponentBase, ABC):
duck_res = [{"content": '<a href="' + i["url"] + '">' + i["title"] + '</a> ' + i["body"]} for i in
ddgs.news(ans, max_results=self._param.top_n)]
- if not duck_res:
- return DuckDuckGo.be_output("")
+ if not duck_res:
+ return DuckDuckGo.be_output("")
df = pd.DataFrame(duck_res)
if DEBUG: print(df, ":::::::::::::::::::::::::::::::::")