mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-07 13:48:07 +08:00
feat: dev done
This commit is contained in:
@@ -1 +1,9 @@
|
||||
export type Updater<T> = (updater: (value: T) => void) => void;
|
||||
|
||||
export const ROLES = ["system", "user", "assistant"] as const;
|
||||
export type MessageRole = (typeof ROLES)[number];
|
||||
|
||||
export interface RequestMessage {
|
||||
role: MessageRole;
|
||||
content: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user