i think you are leaving lots of intelligence on the table by forbidding python to an LLM; trained heavily on python codebases.
This is in a node.js project. It is just too obsessed with using Python, and it seems to help it focus and make more sensible choices by removing the option.