Feat: Render MessageForm with shadcn-ui. #3221 (#5596)

### What problem does this PR solve?

Feat: Render MessageForm with shadcn-ui. #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-03-04 15:47:05 +08:00
committed by GitHub
parent 9816b868f9
commit f256e1a59a
4 changed files with 120 additions and 101 deletions

View File

@ -158,8 +158,11 @@ export function useFormConfigMap() {
},
[Operator.PubMed]: {
component: PubMedForm,
defaultValues: {},
schema: z.object({}),
defaultValues: { top_n: 10 },
schema: z.object({
top_n: z.number(),
email: z.string(),
}),
},
[Operator.ArXiv]: {
component: ArXivForm,