Maybe I'm in the minority in how I use the the AI tools. But I really don't let it write big chunks of code for me. It's great for tricky one or two liners or for esoteric shell commands. But i won't let it go hog wild on my code base.
Mostly all of my side effect free functions are done with ChatGPT (e.g. sort the list of items by X then y then return z, or find A in this deep structure of map[map[map[...]]). If it doesn't need to use lots of APis it's usually right.
For my website in Hugo, it writes all the code for partials and shortcuts.