Heres me making a blank post because OpenAI mods REFUSE to delete them themselves. Delted post. deleted post.
2 Likes
I have a similar problem. Have you solved it? I call the fetch function in the background of a Safari extension.
Thanks for your reply. I also tried the npm package openai, but neither worked.
try sending just pure text from the backend and see if it still acting weird. if not, then the problem is related to the parsing of text. encoding problem?
I tried fetch in content.js and background.js.
Content is ok, while background is ok at first, and then pending, not data received.