Skip to content

Commit

Permalink
fix: fixed the issue that the llm field in the KeywordExtract form ha…
Browse files Browse the repository at this point in the history
…d 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)
  • Loading branch information
cike8899 authored Jul 15, 2024
1 parent 525ccc7 commit f7b481c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/pages/flow/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit f7b481c

Please sign in to comment.