Merge branch 'feat/plugins' of https://github.com/langgenius/dify into feat/plugins

This commit is contained in:
AkaraChen 2025-01-09 17:23:06 +08:00
commit 4bbcc78c84
2 changed files with 3 additions and 5 deletions

View File

@ -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])

View File

@ -119,7 +119,7 @@ const ToolSelector: FC<Props> = ({
},
}
onSelect(toolValue)
setIsShowChooseTool(false)
// setIsShowChooseTool(false)
}
const handleDescriptionChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {