mirror of
https://github.com/mattjaybe/SillyTavern-EchoChamber.git
synced 2026-04-28 03:20:39 +00:00
v5.0.8 - Increased Chat Participation token limit
- Previously set to 100 token per message, increased it to 750
This commit is contained in:
parent
1861d57485
commit
634108abd4
2 changed files with 3 additions and 3 deletions
4
index.js
4
index.js
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue