mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Make groups on OAI work
This commit is contained in:
@ -1129,7 +1129,7 @@ async function Generate(type, automatic_trigger, force_name2) {//encode("dsfs").
|
||||
let mesExamplesArray = mesExamples.split(/<START>/gi).slice(1).map(block => `<START>\n${block.trim()}\n`);
|
||||
|
||||
if (main_api === 'openai') {
|
||||
const oai_chat = [...chat];
|
||||
const oai_chat = [...chat].filter(x => !x.is_system);
|
||||
|
||||
if (type == 'swipe') {
|
||||
oai_chat.pop();
|
||||
|
Reference in New Issue
Block a user