'use client' import type { FC } from 'react' import React from 'react' import Modal from '@/app/components/base/modal' import VisualEditor from '@/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor' import type { SchemaRoot } from '@/app/components/workflow/nodes/llm/types' import { MittProvider, VisualEditorContextProvider } from '@/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/context' import { useTranslation } from 'react-i18next' import { RiCloseLine } from '@remixicon/react' type Props = { isShow: boolean schema: SchemaRoot rootName: string onClose: () => void } const SchemaModal: FC = ({ isShow, schema, rootName, onClose, }) => { const { t } = useTranslation() return (
{/* Header */}
{t('workflow.nodes.agent.parameterSchema')}
{/* Content */}
) } export default React.memo(SchemaModal)