optional usage of names in prompt

This commit is contained in:
2026-01-16 16:13:10 +03:00
parent 7047a5fa15
commit c491329d4f
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export class MistralChat extends ChatCommand {
const content = [];
content.push({
type: "text",
text: `MESSAGE FROM USER "${part.name}":\n` + extractText(part.content, Environment.BOT_PREFIX),
text: (Environment.USE_NAMES_IN_PROMPT ? `MESSAGE FROM USER "${part.name}":\n` : "") + extractText(part.content, Environment.BOT_PREFIX),
});
if (imageFilePath && i === 0) {