v5.0.8 - Increased Chat Participation token limit

- Previously set to 100 token per message, increased it to 750
This commit is contained in:
mattjaybe 2026-03-08 19:45:40 -04:00 committed by GitHub
parent 1861d57485
commit 634108abd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1201,11 +1201,11 @@
return t.value;
};
// Story context — last 2 messages, each capped at 400 chars so long passages don't overwhelm
// Story context — last 2 messages, each capped at 3000 chars so long passages don't overwhelm
const storyContext = chat.filter(m => !m.is_system).slice(-2)
.map(m => {
const text = cleanMsg(m.mes);
return `${m.name}: ${text.length > 400 ? text.substring(0, 400) + '...' : text}`;
return `${m.name}: ${text.length > 3000 ? text.substring(0, 3000) + '...' : text}`;
}).join('\n');
// Extract recent EchoChamber conversation from the DOM for conversational continuity.

View file

@ -6,7 +6,7 @@
"js": "index.js",
"css": "style.css",
"author": "mattjaybe",
"version": "5.0.7",
"version": "5.0.8",
"homePage": "https://github.com/mattjaybe/SillyTavern-EchoChamber",
"auto_update": true
}