SpyderRex / AutoGPT-for-Android-32-Bit

41 stars 13 forks source link

Can't use local memory backend #1

Open Happ1ness-dev opened 1 year ago

Happ1ness-dev commented 1 year ago

Hi, I can't use local memory backend for some reason.

When I run AutoGPT, it sets up the agent, and then just errors with:

FAILED TO CONNECT TO PINECONE  ('401 Client Error: Unauthorized for url: https://controller.us-west1-gcp.pinecone.io/actions/whoami', 'API key is missing or invalid for the environment "us-west1-gcp". Check that the correct environment is specified.')
DOUBLE CHECK CONFIGURATION  Please ensure you have setup and configured Pinecone properly for use.You can check out https://github.com/Torantulino/Auto-GPT#-pinecone-api-key-setup to ensure you've set up everything correctly.

I've tried explicitly settings memory backend to local, but had no success.

SpyderRex commented 1 year ago

I've never been able to use the local storage for this program. You must create a Pinecone account and get an API key and region and add these to your environment variables. You can create a free tier Pinecone account that works fine for this program. Also, the Pinecone memory wasn't working properly, so I had to update it. You will have to clone the repo again and use the newest version.

Happ1ness-dev commented 1 year ago

@SpyderRex, I managed to get the usual AutoGPT working in proot, and it can work with local memory.

SpyderRex commented 1 year ago

Nice. That's progress. I haven't tried that yet.

Happ1ness-dev commented 1 year ago

The main issue is that I can't use chromedriver there, and I have no idea how to install it properly.

I had a chromedriver package, but it demands chrome to be installed from snap, and I can't do it, because it's termux proot ¯⁠\⁠⁠(⁠ツ⁠)⁠⁠/⁠¯

SpyderRex commented 1 year ago

I came up with a solution to that and have added it to my latest push. Chromedriver doesn't have a 32 bit option, so I chose Firefox and geckodriver. They work just fine for the browsing and web scraping.

Happ1ness-dev commented 1 year ago

Chromedriver doesn't have a 32 bit option

I have Poco F3, and I'm using arm64 distro, so I don't need 32 bit binaries

SpyderRex commented 1 year ago

Make sure you use the command pkg install x11-repo before you try to install firefox and geckodriver.

SpyderRex commented 1 year ago

I'm using a 32 bit system, so I have to find all kinds of workarounds. I don't know why Chromedriver is a problem.