Skip to content

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

fix: fixed the issue that the llm field in the KeywordExtract form had no default value (#1510)

balibabuc2693d2f4635
diff --git a/web/src/pages/flow/hooks.ts b/web/src/pages/flow/hooks.ts
index 32754e4443..c3ea0fb918 100644
--- a/web/src/pages/flow/hooks.ts
+++ b/web/src/pages/flow/hooks.ts
@@ -82,7 +82,10 @@ export const useInitializeOperatorParams = () => {
llm_id: llmId,
},
[Operator.Message]: initialMessageValues,
- [Operator.KeywordExtract]: initialKeywordExtractValues,
+ [Operator.KeywordExtract]: {
+ ...initialKeywordExtractValues,
+ llm_id: llmId,
+ },
[Operator.DuckDuckGo]: initialDuckValues,
[Operator.Baidu]: initialBaiduValues,
};