Hi there
Trying to call chatGPT from a selected line in a note, this is the code I got from … GPT (must say I am not a developper at all).
I have entered my API Key (not displayed here).
Using iPad with iOS 16 latest release, Drafts latest release.
I get the displayed error in the screenshot.
In a general sense, that generated code doesn’t look like it will work. How about modifying an existing GPT action like this one? I haven’t used it, but maybe you could start by trying it out?
Do also note that selected text is not the same as a line of text. You can select part of a line, or multiple lines for example.
Have a similar issue - 401 and 429 errors - when I uninstall the action - and reinstall, it doesn’t ask for the new API - as if it is picking it up from previous install - how do I kill that and start again?