import Tooltip from '@/app/components/base/tooltip' import { RiErrorWarningFill } from '@remixicon/react' type StatusIndicatorsProps = { needsConfiguration: boolean modelProvider: boolean disabled: boolean pluginInfo: any t: any } const StatusIndicators = ({ needsConfiguration, modelProvider, disabled, pluginInfo, t }: StatusIndicatorsProps) => { return ( <> {!needsConfiguration && modelProvider && disabled && ( )} {!modelProvider && !pluginInfo && ( {t('workflow.nodes.agent.modelNotInMarketplace.title')} {t('workflow.nodes.agent.modelNotInMarketplace.desc')} {t('workflow.nodes.agent.modelNotInMarketplace.manageInPlugins')} } asChild={false} needsDelay > )} > ) } export default StatusIndicators