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

fix/switch-strategy-clean-param
AkaraChen 1 year ago
commit 88b3c0b7a6

@ -12,6 +12,7 @@ import {
import type { PluginInfoFromMarketPlace } from '@/app/components/plugins/types' import type { PluginInfoFromMarketPlace } from '@/app/components/plugins/types'
import { useInvalidateInstalledPluginList } from '@/service/use-plugins' import { useInvalidateInstalledPluginList } from '@/service/use-plugins'
import ConfigurationButton from './configuration-button' import ConfigurationButton from './configuration-button'
import Loading from '@/app/components/base/loading'
import { PluginType } from '@/app/components/plugins/types' import { PluginType } from '@/app/components/plugins/types'
import { import {
useModelModalHandler, useModelModalHandler,
@ -104,7 +105,7 @@ const AgentModelTrigger: FC<AgentModelTriggerProps> = ({
}, [providerName, modelId, currentProvider]) }, [providerName, modelId, currentProvider])
if (modelId && !isPluginChecked) if (modelId && !isPluginChecked)
return null return <Loading />
return ( return (
<div <div

Loading…
Cancel
Save