Skip to content

Commit f7b481c

Browse files
authored
fix: fixed the issue that the llm field in the KeywordExtract form had no default value (infiniflow#1510)
### What problem does this PR solve? fix: fixed the issue that the llm field in the KeywordExtract form had no default value ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
1 parent 525ccc7 commit f7b481c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/pages/flow/hooks.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ export const useInitializeOperatorParams = () => {
8282
llm_id: llmId,
8383
},
8484
[Operator.Message]: initialMessageValues,
85-
[Operator.KeywordExtract]: initialKeywordExtractValues,
85+
[Operator.KeywordExtract]: {
86+
...initialKeywordExtractValues,
87+
llm_id: llmId,
88+
},
8689
[Operator.DuckDuckGo]: initialDuckValues,
8790
[Operator.Baidu]: initialBaiduValues,
8891
};

0 commit comments

Comments
 (0)