Errors in printing the chat

#596
by Mazeral - opened

I get errors when the LLM print his messages:
image.png
As shown above, the code block is misplaced and get mixed with other things, it happened more than once so far

Hugging Chat org

could you share the conversation where this happened?

the code output in HuggingChat is broken:
2024-11-27_22-58-27.png

I also have this Problem, i tried several Models aswell. It can be "hotfixed" if you tell the model to not print ``` before the code. so the markdown doesnt get executed. It also looks good when generating, but i suspect as soon as the closing ``` gets typed. the formatting somehow fails.
Link to example:
https://hf.co/chat/r/2j4b5uj?leafId=bf2a20cb-86dd-428f-acf3-6d12ec8ede77

Hugging Chat org

Should be fixed!

nsarrazin changed discussion status to closed

Sign up or log in to comment