Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't run offline #121

Open
mikerossiter opened this issue Sep 5, 2023 · 3 comments
Open

Can't run offline #121

mikerossiter opened this issue Sep 5, 2023 · 3 comments

Comments

@mikerossiter
Copy link

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.

@WinterAtne
Copy link

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)

@mikerossiter
Copy link
Author

mikerossiter commented Sep 7, 2023

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."

@reconSuave
Copy link

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

✘ remove unused constant OPENAI_API_HOST

how to fix le ape

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants