Still can't quite believe that prompting o4-mini with "This code needs to be upgraded to the new recommended JavaScript library from Google. Figure out what that is and then look up enough documentation to port this code to it" worked
One of most tedious problems in software development is piecing together all of the details from a bunch of miscellaneous (and often incomplete) API documentation in order to fix some dependency issue you don't want to have to deal with https://simonwillison.net/2025/Apr/18/gemini-image-segmentation/#gemini-2-5-flash-non-thinking