LibreChat icon indicating copy to clipboard operation
LibreChat copied to clipboard

👤added: Username instead of 'You' when sending messages.

Open itzraiss opened this issue 1 year ago • 5 comments

Summary

When the user sends a message, instead of showing 'You' in the sent message, and the agent's name in the received message with whom he is talking, the user's name will be shown, the same one that appears just below in the left corner in Nav. Also added in place of 'You', the translation for its respective language.

Change Type

  • [x] Translation Update

Before: Captura de tela 2024-01-16 230628

After: Captura de tela 2024-01-17 195830

itzraiss avatar Jan 17 '24 23:01 itzraiss

Thanks for this! I would prefer if it was a setting based on preference. Could you add it to Settings under Account? if you need guidance on this, let me know.

danny-avila avatar Jan 18 '24 03:01 danny-avila

Thanks for this! I would prefer if it was a setting based on preference. Could you add it to Settings under Account? if you need guidance on this, let me know.

something like this? Captura de tela 2024-01-18 065055

itzraiss avatar Jan 18 '24 09:01 itzraiss

Yes except the message should me much shorter and active tense. “Display username in messages”

danny-avila avatar Jan 18 '24 12:01 danny-avila

It should not default, because You is what official ChatGPT shows.

SailFlorve avatar Jan 18 '24 16:01 SailFlorve

It should not default, because You is what official ChatGPT shows.

I agree with you, default should be off, although keep in mind the project is not entirely 1:1 with ChatGPT and I do not intend it to be (though obviously there is a lot we do match)

danny-avila avatar Jan 18 '24 16:01 danny-avila

Thanks for this! I would prefer if it was a setting based on preference. Could you add it to Settings under Account? if you need guidance on this, let me know.

Sorry for the delay in responding. I was at work all day and only managed to address what you asked for tonight. I would have appreciated your guidance; it would have been much quicker and simpler for me. Anyway, here it is, and if you want me to change anything, just let me know. 🙂

itzraiss avatar Jan 19 '24 01:01 itzraiss

It should not default, because You is what official ChatGPT shows.

I left it as disabled by default, the only thing I thought would be interesting is that, just like in ChatGPT, the translation of 'You' to its respective language like 'Você' in pt-BR.

itzraiss avatar Jan 19 '24 01:01 itzraiss

It should not default, because You is what official ChatGPT shows.

I left it as disabled by default, the only thing I thought would be interesting is that, just like in ChatGPT, the translation of 'You' to its respective language like 'Você' in pt-BR.

Thanks so much for the work on this. Going to review it now and I can resolve the conflicts. Sorry I couldn't provide guidance earlier on!

danny-avila avatar Jan 19 '24 07:01 danny-avila

not a big mess but I made a mistake in pushing the resolution of merge conflicts to your repo! 😬

I've started a new PR with your original commits to clean this up, sorry! https://github.com/danny-avila/LibreChat/pull/1592

I would fix your fork's main branch but I don't have access.

danny-avila avatar Jan 19 '24 08:01 danny-avila