save model id on messages
parent
fbc9e1cd1c
commit
f588b3e484
|
@ -126,6 +126,7 @@ export class ChatManager extends EventEmitter {
|
|||
chatID: latestMessage.chatID,
|
||||
timestamp: Date.now(),
|
||||
role: 'assistant',
|
||||
model: requestedParameters.model,
|
||||
content: '',
|
||||
done: false,
|
||||
};
|
||||
|
|
|
@ -13,6 +13,7 @@ export interface Message {
|
|||
parentID?: string;
|
||||
timestamp: number;
|
||||
role: string;
|
||||
model?: string;
|
||||
content: string;
|
||||
parameters?: Parameters;
|
||||
done?: boolean;
|
||||
|
|
Loading…
Reference in New Issue