Feat: Set the description of the agent, which can be null #3221 (#9327)

### What problem does this PR solve?

Feat: Set the description of the agent, which can be null #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-08-08 16:44:08 +08:00
committed by GitHub
parent 86fb710e52
commit cd3bb0ed7c

View File

@ -26,8 +26,8 @@ import { useForm } from 'react-hook-form';
const formSchema = z.object({
title: z.string().min(1, {}),
avatar: z.array(z.custom<File>()),
description: z.string(),
avatar: z.array(z.custom<File>()).optional().nullable(),
description: z.string().optional().nullable(),
permission: z.string(),
});