Have you tried phind.com? Besides Codeium (vscode extension) this is my goto for code questions. They have some magic sauce, always better than bing, sometimes I go back to gpt4 just to say hey, and for times where i want to save a thread...
When I changed it to "Use Best Model" it gave a very good response but I'm pretty certain it was just piped to OpenAI GPT-4.
My prompt:
Write a python script for me that deletes AMIs from AWS that I own which have the tags role=bento-remote and bento_image_type=profile. It should bucket the AMIs by another tag called profile. It should delete images older than 14 days but always keep the 10 most recent even if they are older than 14 days. It should print the name of the AMI it is about to delete. It should run the deletes in parallel so it is fast.