Response is empty
Closed this issue · 5 comments
I am using ChatGPT teams, URL: https://chatgpt.com/c/66f427ae-7934-800e-b4cc-ccbed4722d64
All the get response functions are returning empty:
Thanks for the helpful detailed screenshots @gadelkareem! I fixed it and all the methods you typed work again:
The latest jsDelivr URL is https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@3.3.2/dist/chatgpt.min.js
Also do you think an options obj would be easier or harder to use?
e.g.
chatgpt.getChatData({ chat: 'latest', details: 'msg', sender: 'both', msg: 'latest' })
(can allow ordering options in any order)
vs. the current
chatgpt.getChatData('latest', 'msg', 'both', 'latest')
(much shorter to type, but requires memorizing order of params)
Thanks @adamlui for prompt response. I am not sure if it is on my end but now the chatgpt.send({message}, 'click');
is not working:
Also do you think an options obj would be easier or harder to use?
e.g.
chatgpt.getChatData({ chat: 'latest', details: 'msg', sender: 'both', msg: 'latest' }) (can allow ordering options in any order)
vs. the current
chatgpt.getChatData('latest', 'msg', 'both', 'latest') (much shorter to type, but requires memorizing order of params)
Both are OK IMO, using params is easier to write.
That's strange, I can't replicate, also the method is not async so the await isn't needed, but regardless IDK why that error is occurring
You are right! Thank you for the fix!