| 2719 | 2719 | environment.mesExamples = () => { |
| 2720 | 2720 | const isInstruct = power_user.instruct.enabled && main_api !== 'openai'; |
| 2721 | 2721 | const mesExamplesArray = parseMesExamples(fields.mesExamples, isInstruct); |
| 2722 | | - const instructExamples = formatInstructModeExamples(mesExamplesArray, name1, name2); |
| 2722 | + if (isInstruct) { |
| 2723 | | - return instructExamples.join(''); |
| 2723 | + const instructExamples = formatInstructModeExamples(mesExamplesArray, name1, name2); |
| 2724 | + return instructExamples.join(''); |
| 2725 | + } |
| 2726 | + return mesExamplesArray.join(''); |
| 2724 | 2727 | }; |
| 2725 | 2728 | environment.mesExamplesRaw = fields.mesExamples || ''; |
| 2726 | 2729 | environment.charVersion = fields.version || ''; |