continue copium for Poe

This commit is contained in:
Cohee
2023-07-02 20:23:37 +03:00
parent 8eb82cdcd9
commit 549fb19676

View File

@ -2224,7 +2224,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
if (type == 'continue') { if (type == 'continue') {
// Coping mechanism for OAI spacing // Coping mechanism for OAI spacing
if (main_api === 'openai' && !cyclePrompt.endsWith(' ')) { if ((main_api === 'openai' || main_api === 'poe') && !cyclePrompt.endsWith(' ')) {
cyclePrompt += ' '; cyclePrompt += ' ';
} }