fix: Increase mac threshold tokens for tokens

This commit is contained in:
Petr Mironychev 2025-04-18 17:46:05 +02:00
parent 8cb6a2f6d2
commit 3e4b5bca65

View File

@ -47,7 +47,7 @@ ChatAssistantSettings::ChatAssistantSettings()
chatTokensThreshold.setLabelText(Tr::tr("Chat history token limit:"));
chatTokensThreshold.setToolTip(Tr::tr("Maximum number of tokens in chat history. When "
"exceeded, oldest messages will be removed."));
chatTokensThreshold.setRange(1, 900000);
chatTokensThreshold.setRange(1, std::numeric_limits<qint64>::max());
chatTokensThreshold.setDefaultValue(8000);
linkOpenFiles.setSettingsKey(Constants::CA_LINK_OPEN_FILES);