chatgpt.js icon indicating copy to clipboard operation
chatgpt.js copied to clipboard

ChatGPT Request Not Initiating on Other Browser Pages or Directly from background.js

Open giridhar196 opened this issue 1 year ago • 4 comments

After adding the starter pack to my website, I encountered an issue. When I restart the extension and refresh the browser page, the request is not being made until I navigate to the chat.open.ai page. Is there a solution to call ChatGPT in the background from other pages?

giridhar196 avatar Sep 24 '23 07:09 giridhar196

sup @giridhar196 currently it only works on chat.openai.com but it is definitely possible to call ChatGPT on other pages, just I didn't add those methods to chatgpt.js yet (but you can see how i do it in https://github.com/KudoAI/duckduckgpt e.g. getShowReply()

adamlui avatar Sep 24 '23 09:09 adamlui

@adamlui are you planning to add that in the chatgpt.js soon? I am trying to design a useful product for the job-searching community this js library would be very helpful if you could help and add it. Thanks

giridhar196 avatar Sep 24 '23 19:09 giridhar196

@giridhar196 yes but I am severely afflicted with COVID (for years now) so most of my time is spent in bed recovering but please be patient!

adamlui avatar Sep 25 '23 06:09 adamlui

Is there any possibility for you to help me set that in the background js? I tried but it is not working.

giridhar196 avatar Oct 08 '23 20:10 giridhar196