import Tooltip from '@/app/components/base/tooltip' import Link from 'next/link' 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')}
{ e.stopPropagation() }} > {t('workflow.nodes.agent.linkToPlugin')}
} asChild={false} needsDelay >
)} ) } export default StatusIndicators