Feat: Adjust agent mcp style #3221 (#8841)

### What problem does this PR solve?

Feat: Adjust agent mcp style #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-15 11:28:36 +08:00
committed by GitHub
parent f683580310
commit 451e0a92db
17 changed files with 55 additions and 124 deletions

View File

@ -13,7 +13,7 @@ import {
} from '@/components/ui/form';
import { Textarea } from '@/components/ui/textarea';
import { zodResolver } from '@hookform/resolvers/zod';
import { useMemo } from 'react';
import { memo, useMemo } from 'react';
import { useForm, useFormContext } from 'react-hook-form';
import { useTranslation } from 'react-i18next';
import { z } from 'zod';
@ -67,7 +67,7 @@ export function EmptyResponseField() {
);
}
const RetrievalForm = ({ node }: INextOperatorForm) => {
function RetrievalForm({ node }: INextOperatorForm) {
const outputList = useMemo(() => {
return [
{
@ -111,6 +111,6 @@ const RetrievalForm = ({ node }: INextOperatorForm) => {
</form>
</Form>
);
};
}
export default RetrievalForm;
export default memo(RetrievalForm);