Don't duplicate example messages on OAI with pin examples

This commit is contained in:
SillyLossy
2023-04-01 02:52:51 +03:00
parent 5e5baa5249
commit dcd9ef3127

View File

@ -1217,7 +1217,7 @@ async function Generate(type, automatic_trigger, force_name2) {//encode("dsfs").
}
}
if (pin_examples) {
if (pin_examples && main_api !== 'openai') {
for (let example of mesExamplesArray) {
if (!is_pygmalion) {
if (!storyString.endsWith('\n')) {