mirror of https://github.com/langgenius/dify.git
Merge branch 'feat/plugins' of https://github.com/langgenius/dify into feat/plugins
This commit is contained in:
commit
4bbcc78c84
|
|
@ -72,6 +72,7 @@ const AgentModelTrigger: FC<AgentModelTriggerProps> = ({
|
|||
const [inModelList, setInModelList] = useState(false)
|
||||
const invalidateInstalledPluginList = useInvalidateInstalledPluginList()
|
||||
const handleOpenModal = useModelModalHandler()
|
||||
|
||||
useEffect(() => {
|
||||
(async () => {
|
||||
if (modelId && currentProvider) {
|
||||
|
|
@ -96,11 +97,8 @@ const AgentModelTrigger: FC<AgentModelTriggerProps> = ({
|
|||
catch (error) {
|
||||
// pass
|
||||
}
|
||||
setIsPluginChecked(true)
|
||||
}
|
||||
else {
|
||||
setIsPluginChecked(true)
|
||||
}
|
||||
setIsPluginChecked(true)
|
||||
})()
|
||||
}, [providerName, modelId, currentProvider])
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ const ToolSelector: FC<Props> = ({
|
|||
},
|
||||
}
|
||||
onSelect(toolValue)
|
||||
setIsShowChooseTool(false)
|
||||
// setIsShowChooseTool(false)
|
||||
}
|
||||
|
||||
const handleDescriptionChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue