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 Render Markdown in User Input #140

Open
xshadow0x opened this issue Mar 19, 2024 · 2 comments
Open

Do Not Render Markdown in User Input #140

xshadow0x opened this issue Mar 19, 2024 · 2 comments
Assignees
Labels
feature New feature or request version up Pro version features of the devolution of the open source version

Comments

@xshadow0x
Copy link

image image image

bug with "*" symbol

there also bug when i send my python code with comments markdown start working and its looking not too good

image image

maybe need to delete some markdown features from user's messages

@zmh-program
Copy link
Member

Oh, I see.
Now there is indeed a hard problem to solve, markdown is misrecognized in some regular cases. It affects the usage.
I'm thinking about how to solve this kind of problem, maybe we can discuss and share our thoughts?

The way I came up with it is that the user role information is not rendered as markdown, but as full text. But it can also be unfriendly in some cases
Or not processed, wrapping

[code]

Something like that, but it would interfere with usage in some regular cases.

If there really isn't a better good idea, I'll consider user role not rendering markdown later on.

I found this at ChatGPT-Next-Web as well, and it does seem to be a bit more tricky:
image

@zmh-program zmh-program changed the title Bug with markdown Markdown errors work in regular text Mar 20, 2024
@zmh-program zmh-program added the question Further information is requested label Mar 20, 2024
@zmh-program zmh-program changed the title Markdown errors work in regular text Do Not Render Markdown in User Input Mar 27, 2024
@zmh-program zmh-program self-assigned this Apr 1, 2024
@zmh-program
Copy link
Member

commercial version is already supported, waiting for @Sh1n3zZ to decentralize the open source version.

@zmh-program zmh-program assigned Sh1n3zZ and unassigned zmh-program Apr 8, 2024
@zmh-program zmh-program added feature New feature or request version up Pro version features of the devolution of the open source version and removed question Further information is requested labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request version up Pro version features of the devolution of the open source version
Projects
None yet
Development

No branches or pull requests

3 participants