gemini-cli
gemini-cli copied to clipboard
Gemini often removes if __name__ == "__main__": from python scripts and can't put it back
What happened?
Gemini often removes if name == "main": from python scripts and can't put it back despite repeated requests probably some issue with escape the __ or == chars
What did you expect to happen?
to not remove if name == "main": from python scripts or to be able to put it back
Client information
- CLI Version: 0.1.9
- Git Commit: N/A
- Operating System: linux v22.16.0
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-flash
- Memory Usage: 131.3 MB
Login information
No response
Anything else we need to know?
No response
Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.
It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.
Thank you for your contribution!