GPT-4: https://chat.openai.com/share/117fb1ad-6361-41e2-be59-110f32...
Claude 3 Opus: https://gist.github.com/simonw/2002e2b56a97053bd9302a34e0b83...
The GPT-4 code didn't work - it was missing some async keywords.
The Claude 3 Opus code worked perfectly.