minor fix: fix default for status of TidbAuthBinding in compatible with various versions (#22288)
This commit is contained in:
parent
05b002a8b7
commit
759ded3e3a
9 changed files with 28 additions and 11 deletions
|
|
@ -101,7 +101,6 @@ const useConfig = (id: string, payload: LLMNodeType) => {
|
|||
})
|
||||
setInputs(newInputs)
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [defaultConfig, isChatModel])
|
||||
|
||||
const [modelChanged, setModelChanged] = useState(false)
|
||||
|
|
@ -161,7 +160,6 @@ const useConfig = (id: string, payload: LLMNodeType) => {
|
|||
return
|
||||
setModelChanged(false)
|
||||
handleVisionConfigAfterModelChanged()
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [isVisionModel, modelChanged])
|
||||
|
||||
// variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue