mirror of
https://github.com/ztjhz/BetterChatGPT.git
synced 2023-07-20 23:11:29 +03:00
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user