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