Increase default max tokens for chat before deleting first messages

This commit is contained in:
Petr Mironychev 2024-10-17 00:05:31 +02:00
parent 9c2516cd4c
commit 5b43eb4fd2

View File

@ -134,7 +134,7 @@ GeneralSettings::GeneralSettings()
chatTokensThreshold.setToolTip(Tr::tr("Maximum number of tokens in chat history. When " chatTokensThreshold.setToolTip(Tr::tr("Maximum number of tokens in chat history. When "
"exceeded, oldest messages will be removed.")); "exceeded, oldest messages will be removed."));
chatTokensThreshold.setRange(1000, 16000); chatTokensThreshold.setRange(1000, 16000);
chatTokensThreshold.setDefaultValue(4000); chatTokensThreshold.setDefaultValue(8000);
loadProviders(); loadProviders();
loadPrompts(); loadPrompts();