open-chatbot / src /lib /types.ts
romizone's picture
Upload folder using huggingface_hub
c730f0b verified
raw
history blame contribute delete
434 Bytes
export interface FileContext {
id: string;
filename: string;
extension: string;
text: string;
error: string | null;
size: number;
}
export interface ChatSession {
id: string;
title: string;
createdAt: string;
updatedAt: string;
}
export interface AppSettings {
provider: "anthropic" | "openai" | "deepseek";
model: string;
apiKeys: {
openai: string;
anthropic: string;
deepseek: string;
};
}