mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Add the SelectWithSearch component #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { LlmSettingSchema } from '@/components/llm-setting-items/next';
|
||||
import { CodeTemplateStrMap, ProgrammingLanguage } from '@/constants/agent';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { z } from 'zod';
|
||||
@ -116,6 +117,7 @@ export function useFormConfigMap() {
|
||||
component: CategorizeForm,
|
||||
defaultValues: { message_history_window_size: 1 },
|
||||
schema: z.object({
|
||||
...LlmSettingSchema,
|
||||
message_history_window_size: z.number(),
|
||||
items: z.array(
|
||||
z.object({
|
||||
|
||||
Reference in New Issue
Block a user