-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
App Version
3.21.2
API Provider
Google Gemini
Model Used
Gemini 2.5 Pro
π Steps to Reproduce
- Give any trivial task to Architect
π₯ Outcome Summary
In 99% of the cases, it will try to generate a Mermaid diagram even for something as simple as a list of three steps. Moreover, this diagram will often contain errors and won't render (see #2897 #4867).
The default Architect instructions say: "Include Mermaid diagrams if they help make your plan clearer." Well, most models don't react well to this instruction. They seem to think that a diagram always makes a plan clearer. It wastes tokens and pollutes the context with totally unnecessary diagrams.
I've changed the wording in this way:
If the logic is really complicated, parallel or circular, include Mermaid diagrams to make the intent clearer. Do not include diagrams for a list of sequential steps.
This greatly improves the results for me. Maybe the default wording should be changed a bit along these lines?
π Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status