I've wasted so much time trying to get LLMs to help me code. One issue I have is that I can never seem to get the AI to say the word no. No matter what I ask, it will say "Absolutely! You can solve [impossible problem] like so...". At this point I basically use them as documentation search engines. Searching for things like "does this library have a function to do thing?". Gemini and deepseek seem to be good enough at that.
I've entirely given up on using LLMs for exploratory exercises.