flutter_chatgpt_api icon indicating copy to clipboard operation
flutter_chatgpt_api copied to clipboard

Not working on web

Open rienkkk opened this issue 2 years ago • 2 comments
trafficstars

Hi, thanks for the package!

It seems that the package currently is not working on the web.

In the web console I get the following errors: Refused to set unsafe header "cookie" and Refused to set unsafe header "user-agent"

The package itself throws the following error: ChatGPT failed to refresh auth token: Exception: Failed to refresh access token, token in response is null

rienkkk avatar Dec 07 '22 14:12 rienkkk

Our base project is https://github.com/transitive-bullshit/chatgpt-api and v2 published yesterday. image

Pull requests are welcomed :)

coskuncay avatar Dec 08 '22 10:12 coskuncay

@coskuncay Hi, thanks for this package. Is there anything we can do to make this run on flutter web? Is there a limitation on the base project?

aytunch avatar Dec 23 '22 17:12 aytunch