fix: fixed the issue that the llm field in the KeywordExtract form had no default value (#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)
This commit is contained in:
parent
ca9c9c4e1e
commit
c2693d2f46
1 changed files with 4 additions and 1 deletions
|
|
@ -82,7 +82,10 @@ export const useInitializeOperatorParams = () => {
|
||||||
llm_id: llmId,
|
llm_id: llmId,
|
||||||
},
|
},
|
||||||
[Operator.Message]: initialMessageValues,
|
[Operator.Message]: initialMessageValues,
|
||||||
[Operator.KeywordExtract]: initialKeywordExtractValues,
|
[Operator.KeywordExtract]: {
|
||||||
|
...initialKeywordExtractValues,
|
||||||
|
llm_id: llmId,
|
||||||
|
},
|
||||||
[Operator.DuckDuckGo]: initialDuckValues,
|
[Operator.DuckDuckGo]: initialDuckValues,
|
||||||
[Operator.Baidu]: initialBaiduValues,
|
[Operator.Baidu]: initialBaiduValues,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue