lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.53k stars 9.99k forks source link

[Request] 支持mermaid图渲染展示 #4695

Open naimehao opened 3 hours ago

naimehao commented 3 hours ago

🥰 需求描述

提示词: 帮我画一张Nginx反向代理示意图

回复如图:

image

但是生成的代码确实是可以加载的:

image

🧐 解决方案

.

📝 补充信息

No response

lobehubbot commented 3 hours ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

Prompt words: Help me draw a diagram of Nginx reverse proxy

The reply is as shown below:

image

But the generated code can indeed be loaded:

image

🧐 Solution

.

📝 Supplementary information

No response

lobehubbot commented 3 hours ago

👀 @naimehao

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 2 hours ago

嗯 展示的确可以优化下

lobehubbot commented 2 hours ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Yeah, the display can indeed be optimized.