mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix first.mes continue for Chat Comps
This commit is contained in:
@ -2691,7 +2691,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||
}
|
||||
|
||||
// Only add the chat in context if past the greeting message
|
||||
if (isContinue && chat2.length > 1) {
|
||||
if (isContinue && (chat2.length > 1 || main_api === 'openai')) {
|
||||
cyclePrompt = chat2.shift();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user