Bin-Huang / chatbox

User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)
https://chatboxai.app
GNU General Public License v3.0
21.39k stars 2.16k forks source link

[BUG] Markdown export puts every message inside code blocks #1539

Open endolith opened 1 month ago

endolith commented 1 month ago

Bug Description Please provide a clear and concise description of what the bug is.

Steps to Reproduce Please provide the steps to reproduce the bug:

  1. Go to https://web.chatboxai.app/
  2. Click on top right … and then Export Chat
  3. Choose Scope: Current Thread and Format: Markdown
  4. Export

Expected Results The markdown file should be formatted similarly to the web interface.

Actual Results

Every message is inside code blocks:

**system**: 

You are an automated software engineer with expertise in code analysis. … Respond using Markdown.


…

**user**: 

Any other changes you missed?


**assistant**: 

Let’s take a closer look at the changes in the commit to ensure nothing is overlooked. Here’s a comprehensive review of the modifications made in addition to the major points already discussed:

Additional Changes Observed in the Commit

  1. Function Renaming and Signature Adjustments:
    • Several functions in the LCD driver have had their signatures updated to use uint8_t, uint16_t, etc., inst …

So it does not render as actual markdown that the users intended, but as code blocks showing markup:

Screenshots image

Desktop (please complete the following information):

ganghui0 commented 1 month ago

Encountered the same issue