8000 Architect Mode does not render its own Mermaid designs · Issue #3036 · RooVetGit/Roo-Code · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Architect Mode does not render its own Mermaid designs #3036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chubshaun opened this issue Apr 29, 2025 · 5 comments
Open

Architect Mode does not render its own Mermaid designs #3036

chubshaun opened this issue Apr 29, 2025 · 5 comments
Labels
bug Something isn't working needs scoping Needs up-front scoping to be actionable

Comments

@chubshaun
Copy link
chubshaun commented Apr 29, 2025

App Version

3.14.3

API Provider

Google Gemini

Model Used

Gemini Pro 2.5

Actual vs. Expected Behavior

Image

EDIT: The issue seems to be that parentheticals don't seem to be valid Mermaid syntax - if I paste this mermaid code into mermaid.live it shows an error:

Error: Error: Parse error on line 11:
...[Prepare LLM Prompt (Inject Paths, Paren

Removing the parentheses fixes the issue:

    I --> J[Prepare LLM Prompt (Inject Paths, Parent Schemas)]
    J --> K{Call LLM (sendToBedrockLLM)}

To

    I --> J[Prepare LLM Prompt Inject Paths, Parent Schemas]
    J --> K{Call LLM sendToBedrockLLM}
@chubshaun chubshaun added the bug Something isn't working label Apr 29, 2025
@samhvw8
Copy link
Collaborator
samhvw8 commented Apr 29, 2025

this is from gemini not from Roo
look like we need clean but only for gemini

like this repo https://github.com/Gitesh08/mermaid-diagram/

@chubshaun
Copy link
Author

FWIW - I've seen a lot of LLMs mess up Mermaid syntax - we almost need the mermaid equivalent of jsonrepair.

https://github.com/josdejong/jsonrepair

@hannesrudolph hannesrudolph moved this from New to Issue [Needs Scoping] in Roo Code Roadmap Apr 29, 2025
@hannesrudolph hannesrudolph added the needs scoping Needs up-front scoping to be actionable label Apr 29, 2025
@samhvw8
Copy link
Collaborator
samhvw8 commented Apr 30, 2025

@chubshaun yeah but i see that only google model mess up with mermaid :(

SmartManoj pushed a commit to SmartManoj/Roo-Code that referenced this issue May 6, 2025
…ers (RooVetGit#3036)

It's somehow locked to o3-mini for some providers, and the description,
should be updated for all OpenAI o series reasoning models.
@Jannchie
Copy link
Jannchie commented May 6, 2025

I also observed this issue when using GPT-4.1.

@mrubens
Copy link
Collaborator
mrubens commented May 6, 2025

You can try copying the error message that the recent versions of the app give and tell it to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs scoping Needs up-front scoping to be actionable
Projects
Status: Issue [Needs Scoping]
Development

No branches or pull requests

5 participants
0