Fixed commented out programs

This commit is contained in:
PawelC4
2025-11-09 00:37:24 -05:00
parent 972df9b70b
commit 44b5a4dc49
17 changed files with 1558 additions and 1257 deletions
+25 -25
View File
@@ -1,30 +1,30 @@
// export type MessageRole = "user" | "model";
export type MessageRole = "user" | "model";
// export type MessagePart = {
// text: string;
// }
export type MessagePart = {
text: string;
}
// export interface Message{
// role: MessageRole;
// parts:MessagePart[];
// }
// export type ChatHistory = Message[];
export interface Message {
role: MessageRole;
parts: MessagePart[];
}
export type ChatHistory = Message[];
// export interface GenerateConfig{
// temperature : number;
// topP : number;
// responseMimeType : string;
// }
export interface GenerateConfig {
temperature: number;
topP: number;
responseMimeType: string;
}
// export interface ChatSetting{
// temperature :number;
// model: string;
// sysTemInstructions: string;
// }
export interface ChatSetting {
temperature: number;
model: string;
sysTemInstructions: string;
}
// export interface CardData {
// id: number;
// title: string;
// tracks: string[];
// summary: string;
// }
export interface CardData {
id: number;
title: string;
tracks: string[];
summary: string;
}