perf: chat framwork
This commit is contained in:
4
src/types/chat.d.ts
vendored
4
src/types/chat.d.ts
vendored
@@ -1,5 +1,7 @@
|
||||
import { ChatRoleEnum } from '@/constants/chat';
|
||||
|
||||
export type ChatItemSimpleType = {
|
||||
obj: 'Human' | 'AI' | 'SYSTEM';
|
||||
obj: `${ChatRoleEnum}`;
|
||||
value: string;
|
||||
systemPrompt?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user