import { RAGFlowFormItem } from '@/components/ragflow-form'; import { useCompilationTemplateGroupOptions } from '@/hooks/use-compilation-template-group-request'; import { useNavigatePage } from '@/hooks/logic-hooks/navigate-hooks'; import { useTranslation } from 'react-i18next'; import { SelectWithSearch } from './originui/select-with-search'; type CompilationTemplateFormFieldProps = { horizontal?: boolean; name?: string; }; export function CompilationTemplateFormField({ horizontal, name = 'parser_config.compilation_template_group_id', }: CompilationTemplateFormFieldProps) { const { t } = useTranslation(); const { navigateToAgents } = useNavigatePage(); const options = useCompilationTemplateGroupOptions(); return ( {(field) => ( )} ); }