mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
perf: generate queue
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
import { useForm } from 'react-hook-form';
|
||||
import { postKbDataFromList, putKbDataById } from '@/api/plugins/kb';
|
||||
import { useToast } from '@/hooks/useToast';
|
||||
import { TrainingTypeEnum } from '@/constants/plugin';
|
||||
|
||||
export type FormData = { dataId?: string; a: string; q: string };
|
||||
|
||||
@@ -59,7 +60,8 @@ const InputDataModal = ({
|
||||
a: e.a,
|
||||
q: e.q
|
||||
}
|
||||
]
|
||||
],
|
||||
mode: TrainingTypeEnum.index
|
||||
});
|
||||
|
||||
toast({
|
||||
|
Reference in New Issue
Block a user