Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Can't use local memory backend #1

Open
Happ1ness-dev opened this issue May 13, 2023 · 8 comments
Open

Can't use local memory backend #1

Happ1ness-dev opened this issue May 13, 2023 · 8 comments

Comments

@Happ1ness-dev
Copy link

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
Copy link
Owner

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
Copy link
Author

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

@SpyderRex
Copy link
Owner

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

@Happ1ness-dev
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@SpyderRex
Copy link
Owner

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.

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

No branches or pull requests

2 participants