feat: #1303 improve long text input ux and mobile modal

This commit is contained in:
Yidadaa
2023-05-08 22:49:51 +08:00
parent 1f2ef1cdb7
commit 1b19fdfe11
5 changed files with 76 additions and 48 deletions

View File

@@ -33,7 +33,7 @@ export function createMessage(override: Partial<Message>): Message {
};
}
export const ROLES: Message["role"][] = ["system", "user", "assistant"];
export const ROLES: Message["role"][] = ["user", "system", "assistant"];
export interface ChatStat {
tokenCount: number;