support example_user and example_assistant

This commit is contained in:
2023-07-12 00:40:03 +08:00
parent 1b558a8194
commit 32bf692386
4 changed files with 26 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
export interface Message {
role: "system" | "user" | "assistant" | "function";
content: string;
name?: "example_user" | "example_assistant";
}
export interface ChunkMessage {