Hello there. I was having similar issues until I came up with a clever fix . My system message fix was made for bringing better control to Gemini 2.5 Pro while coding but it seems to work well in more situations then just coding. I put in my system message and tested it against all 3 of your scenarios and it passed the first 2 with the 3rd being a partial pass where it did complete the blog but it overshot it by about 100 words bringing the total to about 1100 words. What is interesting to me is the system message which is focused for coding seems to have a positive effect in other areas as well. Please try it, I would love to know the full extent of what it can solve. Its under the topic called, Gemini 2.5 Pro, bulletproof system message for code debugging
p.s. Be sure to lower the temperature to 0.7 as I believe this is key to minimizing the likelihood of the LLM diverging into off-topic or speculative content.
1 Like