fix: Increase mac threshold tokens for tokens (#167)

This commit is contained in:
Petr Mironychev 2025-04-18 17:56:48 +02:00 committed by GitHub
parent 8cb6a2f6d2
commit 711aa672f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);