add user's names to messages

This commit is contained in:
2026-01-16 16:04:10 +03:00
parent 38b312ae41
commit 7047a5fa15
3 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import {
collectReplyChainText,
editMessageText,
escapeMarkdownV2Text,
extractText,
getPhotoMaxSize,
logError,
replyToMessage,
@@ -68,7 +69,7 @@ export class MistralChat extends ChatCommand {
const content = [];
content.push({
type: "text",
text: part.content
text: `MESSAGE FROM USER "${part.name}":\n` + extractText(part.content, Environment.BOT_PREFIX),
});
if (imageFilePath && i === 0) {