Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use Markdown when showing user-submitted messages #1084

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DmitriyAlergant-T1A
Copy link

Do not use Markdown when showing user-submitted messages to avoid stripping of leading spaces (line indents). This is confusing, you see your own submissions differently from how they appeared in the prompt input box.

Line indents are often crucial in prompts, especially when either pasting pieces of code or just hierarchically expressing one's thoughts. The original implementation correctly retains indents in back-end communication with the models but the markdown renderer strips them out.

…leading spaces stripping (losing indents in naively pasted code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant