chat-ui / src /lib /types /Message.ts
coyotte508's picture
coyotte508 HF staff
๐Ÿ—ƒ๏ธ Store model inside conversation instead (#165)
06e879d unverified
raw history blame
No virus
119 Bytes
export interface Message {
from: "user" | "assistant";
id: ReturnType<typeof crypto.randomUUID>;
content: string;
}