Commit 52f5e5a
Miriad
fix: enforce purple #7c3aed in Gemini image generation
Gemini generateContent was ignoring color instructions in prompts.
- Prepend CRITICAL COLOR RULE to every prompt before API call
- Explicitly ban teal/cyan/green/blue accents
- Fix 'purple and teal' in buildInfographicPrompt to 'purple only'
- Color enforcement at API boundary, not just in prompt templates1 parent dc2cc3c commit 52f5e5a
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
277 | 280 | | |
278 | 281 | | |
279 | 282 | | |
280 | | - | |
281 | | - | |
| 283 | + | |
| 284 | + | |
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
| |||
0 commit comments