diff --git a/app/src/chat-manager.ts b/app/src/chat-manager.ts index 987d067..f36f9fd 100644 --- a/app/src/chat-manager.ts +++ b/app/src/chat-manager.ts @@ -126,6 +126,7 @@ export class ChatManager extends EventEmitter { chatID: latestMessage.chatID, timestamp: Date.now(), role: 'assistant', + model: requestedParameters.model, content: '', done: false, }; diff --git a/app/src/types.ts b/app/src/types.ts index 8f4945a..c972495 100644 --- a/app/src/types.ts +++ b/app/src/types.ts @@ -13,6 +13,7 @@ export interface Message { parentID?: string; timestamp: number; role: string; + model?: string; content: string; parameters?: Parameters; done?: boolean;