Gemini 1.5 pro does not want to write code at full capacity using all its tokens. instead, he shortens the code with comments, which is not the case in gemini 2.0

Gemini 1.5 pro does not want to write code at full capacity using all its tokens. instead, he shortens the code with comments, which is not the case in gemini 2.0.

I use system instructions like ‘Provide the full code, without gaps, ready to copy.’, and in this way, it gives me complete codes.

It is malfunctioning. Perhaps it functions intermittently; have you experimented with a more extensive codebase?

Improve your prompt engineering.