Using OpenAI-ChatGPT with Drafts

Using this script: OpenAI: Correct Spelling in Selection | Drafts Directory I’m getting

OpenAI: 404, Invalid path. Check that your request is for a valid endpoint and model in the OpenAI API.
undefined
Script step completed.

Looks like quickTextEdit is not a valid endpoint anymore…