history trial 2

This commit is contained in:
YasinOnm08 2024-10-08 16:47:40 +02:00
parent 42a61bae02
commit f8e2706d33
2 changed files with 36 additions and 1 deletions

View file

@ -19,7 +19,8 @@ interface GlobalChatHistory {
let globalChatHistory: GlobalChatHistory = {
chats: [
{ name: "Chat 1", messages: [], timestamp: 4 }
{ name: "Chat 1", messages: [{role:"system",content:"you are a helpful assistant"},{role:"assistant",content:"how can i help you"}], timestamp: 4 },
{ name: "Chat 2", messages: [{role:"system",content:"you are a helpful assistant"},{role:"assistant",content:"how can i help you"}], timestamp: 4 },
],
selectedIndex:0
}