LibreChat/api/app/clients
Sebastien Bruel 7c9a868d34
📝 feat: Add Markdown Rendering Support for Artifacts (#10049)
* Add Markdown rendering support for artifacts

* Add tests

* Remove custom code for mermaid

* Remove unnecessary dark mode hook

* refactor: optimize mermaid dependencies

- Added support for additional MIME types in artifact templates.
- Updated mermaidDependencies to include new packages: class-variance-authority, clsx, tailwind-merge, and @radix-ui/react-slot.
- Refactored zoom and refresh icons in MermaidDiagram component for improved clarity and maintainability.

* fix: add Markdown support for artifacts rendering

* feat: support 'text/md' as an additional MIME type for Markdown artifacts

* refactor: simplify markdownDependencies structure in artifacts utility

---------

Co-authored-by: Danny Avila <danny@librechat.ai>
2025-10-11 10:37:35 -04:00
..
agents 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
chains 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
document 📦 fix: npm warnings; chore: bump deprecated packages (#4707) 2024-11-12 18:51:32 -05:00
llm ⚙️ chore: Resolve Build Warning, Package Cleanup, Robust Temp Chat Time (#9962) 2025-10-04 01:53:37 -04:00
memory ⚙️ chore: Resolve Build Warning, Package Cleanup, Robust Temp Chat Time (#9962) 2025-10-04 01:53:37 -04:00
output_parsers 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
prompts 📝 feat: Add Markdown Rendering Support for Artifacts (#10049) 2025-10-11 10:37:35 -04:00
specs 🎚️ feat: Anthropic Parameter Set Support via Custom Endpoints (#9415) 2025-09-08 14:35:29 -04:00
tools 🧱 fix: DALL-E Proxy Bypass (#9971) 2025-10-05 06:56:21 -04:00
AnthropicClient.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
BaseClient.js 🖼️ fix: Extract File Context & Persist Attachments (#10069) 2025-10-10 05:35:37 -04:00
GoogleClient.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
index.js 👤 feat: User Placeholder Variables for Custom Endpoint Headers (#7993) 2025-06-23 12:39:27 -04:00
OllamaClient.js 👁️ feat: Azure Mistral OCR Strategy (#7888) 2025-06-13 15:14:57 -04:00
OpenAIClient.js ⚙️ chore: Resolve Build Warning, Package Cleanup, Robust Temp Chat Time (#9962) 2025-10-04 01:53:37 -04:00
TextStream.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00