kzar With Kagi assistant, if the user sends a code block, it's not rendered nicely. Whereas blocks returned by the LLM are rendered nicely. Both code blocks in the example should be rendered nicely.
oneiricsky Even if it gets sent to the LLM as raw text as shown, I still would like it to be presented to us with proper markdown formatting. It makes it less confusing when having to provide code samples and other things.
sunsean I believe this is true for all markdown a user might type. I agree that for code in particular it can be hard to review a conversation where the user entered code is not formatted.
sunsean AI response code blocks are formatted. It would be nice if user entered code blocks were also formatted. When reading a conversation it can be challenging to see our own unformatted code that we pasted in, even if we do use ``` code blocks
sunsean This is a duplicate of https://kagifeedback.org/d/6165-assistant-doesnt-render-code-blocks-sent-from-user-correctly (safe to close/delete this copy)