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