mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 15:33:59 +01:00
parent
cb930e3e2c
commit
7bf6f7af87
|
@ -189,7 +189,7 @@ const useSubmit = () => {
|
|||
|
||||
// update tokens used for generating title
|
||||
if (countTotalTokens) {
|
||||
const model = currChats[currentChatIndex].config.model;
|
||||
const model = _defaultChatConfig.model;
|
||||
updateTotalTokenUsed(model, [message], {
|
||||
role: 'assistant',
|
||||
content: title,
|
||||
|
|
Loading…
Reference in a new issue