FreedomGPT icon indicating copy to clipboard operation
FreedomGPT copied to clipboard

Can't run offline

Open mikerossiter opened this issue 1 year ago • 3 comments

When I go into airplane mode and run yarn start from root I get this error in the logs in the terminal.

[TypeError: fetch failed] { cause: [Error: getaddrinfo ENOTFOUND api.openai.com] { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'api.openai.com' }

I can see it's moaning about not being able to hit the api.openai.com endpoint so can I turn this off somehow? I don't need chatgpt anyway.

mikerossiter avatar Sep 05 '23 10:09 mikerossiter

I just learned about this repo today and haven't looked at the code to much but that sounds correct. This project relies on openai to run, so accessing their api sounds necessary to running the program. (please correct me If I am wrong)

WinterAtne avatar Sep 07 '23 08:09 WinterAtne

Yes it seems that way. The app itself though says this when you go to select ConnectAI: "Edge AI is AI that runs locally on your machine. The data never leaves your device, so everything stays private. You can even use this AI when you are completely offline, on a plane, or a deserted island."

mikerossiter avatar Sep 07 '23 09:09 mikerossiter

FreedomGPT ▶︎ renderer ▶︎ utils ▶︎ app ▶︎ const.ts

✘ remove unused constant OPENAI_API_HOST

how to fix le ape

reconSuave avatar May 03 '24 01:05 reconSuave