Provide the required service and plugin to create mermaid images within Librechat
docker build -t mermaid-api . or docker compose build
docker compose up -d
curl -X POST -H "Content-Type: application/json" -d '{
"code": "graph LR\n A-->B;\n B-->C;"
}' http://localhost:3000/png -o output.png
curl -X POST -H "Content-Type: application/json" -d '{
"code": "graph LR\n A-->B;\n B-->C;"
}' http://localhost:3000/svg -o output.svg
curl http://localhost:3333/.well-known/ai-plugin.json