chat-ui / src /lib /types /Settings.ts
coyotte508's picture
coyotte508 HF staff
✨ Backend preparation for "Sign in with HF" (#190)
2e28042 unverified
raw history blame
No virus
467 Bytes
import type { Timestamps } from "./Timestamps";
import type { User } from "./User";
export interface Settings extends Timestamps {
userId?: User["_id"];
sessionId?: string;
/**
* Note: Only conversations with this settings explictly set to true should be shared.
*
* This setting is explicitly set to true when users accept the ethics modal.
* */
shareConversationsWithModelAuthors: boolean;
ethicsModalAcceptedAt: Date | null;
activeModel: string;
}