Error with Mermaid when creating a plan

I’ve noticed when creating a plan, the Mermaid’s diagram is falling (see pic below):

My Setup:

Version: 2.2.44
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Hey, thanks for the report.

To pass this issue to the engineers, we’ll need:

  • The Request ID for this chat (top-right chat menu > Copy Request ID)
  • What prompt did you use to generate the plan?

This will help the team understand why invalid syntax is being generated.

Hi @deanrie ,

There’s no Request ID generated. It only appears, but the Plan is generated.

The prompt used is like this: “make a plan to create a new routine based on the routine1.md description, creating all features at the same way as described in the .md file”

1 Like

Thanks for clarifying. To share this with our engineers, we’ll need a few more details:

  1. Request ID: Please try again. Click the chat menu (the three dots in the top-right corner) > Copy Request ID. Even if the plan fails with an error, the ID should still be available.

  2. Generated Mermaid code: If possible, copy the Mermaid diagram code that shows the error. This will help us understand what syntax error the model is producing.

The team needs this info to figure out why invalid Mermaid syntax is being generated.

Ok.
Request ID: b07215b5-abf4-4e1e-bd3e-0a820030f999
Mermaid diagram code:
graph TD
User[Líder de Célula] -->|Acessa| Index[index.php]
Index -->|role=leader| Content[dashboard-cell-content.php]
Content -->|Carrega| JS[cell-dashboard.js]
JS -->|API Request| Route[/api/dashboard/cell-executive]
Route -->|Controller| Method[getCellExecutiveDashboard]
Method -->|Filtra por| CellData[Dados da Célula]
CellData -->|Retorna| JSON[JSON Response]
JSON -->|Renderiza| Charts[Gráficos e KPIs]

1 Like

Hey @deanrie. Thanks for solving the problem. Mermaid is generating diagram again!!!

Thanks a lot!

1 Like