mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 02:12:38 +00:00
perf: completion dispatch
This commit is contained in:
12
client/src/service/moduleDispatch/init/userChatInput.tsx
Normal file
12
client/src/service/moduleDispatch/init/userChatInput.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SystemInputEnum } from '@/constants/app';
|
||||
|
||||
export type UserChatInputProps = {
|
||||
[SystemInputEnum.userChatInput]: string;
|
||||
};
|
||||
|
||||
export const dispatchChatInput = (props: Record<string, any>) => {
|
||||
const { userChatInput } = props as UserChatInputProps;
|
||||
return {
|
||||
userChatInput
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user