Git Product home page Git Product logo

autogpt-for-android-32-bit's Introduction

AutoGPT for Android

I do much of my coding on Android, usually using the Termux app. However, there are certain things that cannot be used very well or at all in Termux, such as numpy or spacy. I tried to use the original version of AutoGPT on Termux, and I found that I cannot use such libraries as orjson and, most importantly, tiktoken, the token counter used in AutoGPT. This has to do with Termux's aversion to Rust. I found a simpler version of AutoGPT and actually got it to work by modifying it in a few places: I got rid of orjson, tiktoken, spacy, and direct uses of numpy, all of which either cannot be installed in Termux or cannot be used properly in Termux. Instead of tiktoken as the token counter, I use nltk, which works fine on Termux. Then I realized I could make the same changes to the full AutoGPT project, and I have done so.

Typing commands in the terminal can be buggy at times on this program, but it is manageable.

You need both an OpenAI api key and a Pinecone api key to use the program. The original AutoGPT program has a variety of memory options to choose from, but I am narrowing it down to Pinecone. Pinecone does require numpy, but it can be installed with the command below. The OpenAI models cost a little to use, of course. You can create a free Pinecone account and get your api key. Store your OpenAI api key, your.Pinecone api key, and your Pinecone region in your .bashrc file as environment variables. I would suggest getting a Google api key and Google custom search engine id, since your IP address will most likely be blocked after so much web scraping.

If you are using Termux, run the following command before you do anything else:

./run.sh

This may or may not install all the necessary packages, depending on how your system is already set up.

This version of AutoGPT uses Firefox browser and geckodriver. I did this because Chromedriver doesn't have a 32 bit option, but Firefox and geckodriver do.

After all the requirements are installed, you can run the program with:

python3 -m autogpt

I have not tested any plugins or other features yet, but so far I have gotten the basics to work on Termux for Android.

Finally, if you have problems installing requirements or getting the program to work, let me know. Or do like I often do and use your greatest coding skill: copy and paste the error message into ChatGPT. Keep at it until you get everything working on Termux. I have it running on my 32 bit system, so if you are having trouble, it probably means some package is missing.

autogpt-for-android-32-bit's People

Contributors

spyderrex avatar

Stargazers

Robert Bennett avatar  avatar ⭐ 🐾 avatar  avatar Maxim Kerkula avatar SayedAli Nourian avatar Mustafa (Moose) avatar  avatar  avatar  avatar  avatar TTK avatar  avatar kuwork avatar Anthony Joseph avatar endi avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar 布衣男儿 avatar Muhammad Hamdan avatar  avatar  avatar  avatar  avatar samuel legrand avatar Nathan Lloyd Ward avatar Kuchiriel avatar  avatar  avatar Itsfitts avatar  avatar pierre aumont avatar  avatar  avatar Jeremy Green avatar Happ1ness avatar

Watchers

 avatar Eli avatar samuel legrand avatar  avatar

autogpt-for-android-32-bit's Issues

pip3 install -r requirements.txt output error.

❯ ```
pip3 install -r requirements.txt
Collecting beautifulsoup4>=4.12.2 (from -r requirements.txt (line 1))
Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Requirement already satisfied: colorama==0.4.6 in ./VenvGPT_Android/lib/python3.11/site-packages (from -r requirements.txt (line 2)) (0.4.6)
Collecting distro==1.8.0 (from -r requirements.txt (line 3))
Using cached distro-1.8.0-py3-none-any.whl (20 kB)
Collecting openai==0.27.2 (from -r requirements.txt (line 4))
Using cached openai-0.27.2-py3-none-any.whl (70 kB)
Collecting playsound==1.2.2 (from -r requirements.txt (line 5))
Using cached playsound-1.2.2-py2.py3-none-any.whl (6.0 kB)
Requirement already satisfied: python-dotenv==1.0.0 in ./VenvGPT_Android/lib/python3.11/site-packages (from -r requirements.txt (line 6)) (1.0.0)
Collecting pyyaml==6.0 (from -r requirements.txt (line 7))
Using cached PyYAML-6.0.tar.gz (124 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/data/data/com.termux/files/home/github/AutoGPT-for-Android/VenvGPT_Android/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/data/data/com.termux/files/home/github/AutoGPT-for-Android/VenvGPT_Android/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/github/AutoGPT-for-Android/VenvGPT_Android/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 288, in
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/init.py", line 107, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 314, in run
self.find_sources()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 322, in find_sources
mm.run()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 551, in run
self.add_defaults()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
sdist.add_defaults(self)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 104, in add_defaults
super().add_defaults()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 204, in get_source_files
File "/data/data/com.termux/files/usr/tmp/pip-build-env-8ceq6zp4/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in getattr
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Failed building wheel for cryptography?

Tried installing on Galaxy Fold 3, got past all other obstacles but stuck getting this error. Any help?

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cryptography Failed to build cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

Me aparece el error API incorrecta de pinecone

Tengo configurada mi variable de entorno con la api de Open AI pinecone y la región
Pero me aparece este error cuando entro a usar autogpt

Generador de codigo has been created with the following details:
Name: Generador de codigo
Role: is an AI specialized in solving coding problems and crafting advanced, optimized, and modern code across any programming language. It's designed to facilitate software development with intelligent and adaptive solutions that enhance code quality and efficiency
Goals:

  • Solve complex programming problems and debug code efficiently.
  • Develop optimized and clean code following best programming practices.
  • Create innovative software solutions leveraging the latest technologies and frameworks.
  • Automate development tasks to speed up the software lifecycle.
  • Generate advanced algorithms for data processing and machine learning.
    Traceback (most recent call last):
    File "", line 198, in _run_module_as_main
    File "", line 88, in _run_code
    File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/main.py", line 5, in
    autogpt.cli.main()
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1157, in call
    return self.main(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
    ^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1666, in invoke
    rv = super().invoke(ctx)
    ^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/cli.py", line 84, in main
    run_auto_gpt(
    File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/main.py", line 115, in run_auto_gpt
    memory = get_memory(cfg, init=True)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/memory/init.py", line 20, in get_memory
    memory = PineconeMemory(cfg)
    ^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/singleton.py", line 15, in call
    cls._instances[cls] = super(Singleton, cls).call(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/memory/pinecone.py", line 28, in init
    if table_name not in pinecone.list_indexes():
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/manage.py", line 185, in list_indexes
    response = api_instance.list_indexes()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 776, in call
    return self.callable(self, *args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api/index_operations_api.py", line 1132, in __list_indexes
    return self.call_with_http_info(**kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 838, in call_with_http_info
    return self.api_client.call_api(
    ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 413, in call_api
    return self.__call_api(resource_path, method,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 207, in __call_api
    raise e
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 200, in __call_api
    response_data = self.request(
    ^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 439, in request
    return self.rest_client.GET(url,
    ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 236, in GET
    return self.request("GET", url,
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 219, in request
    raise UnauthorizedException(http_resp=r)
    pinecone.core.client.exceptions.UnauthorizedException: (401)
    Reason: Unauthorized
    HTTP response headers: HTTPHeaderDict({'www-authenticate': 'API key is missing or invalid for the environment "us-west1-gcp". Check that the correct environment is specified.', 'content-length': '114', 'date': 'Mon, 06 Nov 2023 13:15:35 GMT', 'server': 'envoy'})
    HTTP response body: API key is missing or invalid for the environment "us-west1-gcp". Check that the correct environment is specified.

Ya verifiqué y todo está bien y me sigue apareciendo este error

Runs but crashes upon attempting to do anything.

Got it to run with some tinkering. Had to delete the function on line 43 of prompt.py
Now runs but crashes. Here is output.

~/AutoGPT-for-Android $ python3 -m autogpt -manual
ONLY THE FOLLOWING MEMORY BACKENDS ARE SUPPORTED:  ['local', 'pinecone']
Defaulting to:  pinecone
Welcome back!  Would you like me to return to being PABGPT?                                                          Asking user via keyboard...
Continue with the last settings?
Name:  PABGPT
Role:  an AI-powered personal assistant that helps you manage your daily tasks, schedule, and communication, allowing you to focus on what matters most.
Goals: ['Efficiently manage your calendar, schedule, and reminders to ensure you never miss an important appointment or deadline.', 'Streamline your communication by managing your emails, messages, and calls, and providing you with timely and relevant information.', 'Proactively identify and suggest ways to optimize your workflow and increase your productivity, such as automating repetitive tasks or delegating responsibilities.', 'Continuously learn and adapt to your preferences and habits to provide personalized and tailored assistance that meets your unique needs.', 'Maintain the highest level of confidentiality and security to protect your sensitive information and ensure your privacy.']
API Budget: infinite
Continue (y/n): y                                                                                                  PABGPT  has been created with the following details:
Name:  PABGPT
Role:  an AI-powered personal assistant that helps you manage your daily tasks, schedule, and communication, allowing you to focus on what matters most.                                                                              Goals:
-  Efficiently manage your calendar, schedule, and reminders to ensure you never miss an important appointment or deadline.
-  Streamline your communication by managing your emails, messages, and calls, and providing you with timely and relevant information.
-  Proactively identify and suggest ways to optimize your workflow and increase your productivity, such as automating repetitive tasks or delegating responsibilities.
-  Continuously learn and adapt to your preferences and habits to provide personalized and tailored assistance that meets your unique needs.
-  Maintain the highest level of confidentiality and security to protect your sensitive information and ensure your privacy.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/__main__.py", line 5, in <module>
    autogpt.cli.main()
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1635, in invoke
    rv = super().invoke(ctx)
         ^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/cli.py", line 90, in main
    run_auto_gpt(
  File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/main.py", line 152, in run_auto_gpt
    memory = get_memory(cfg, init=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/memory/__init__.py", line 20, in get_memory
    memory = PineconeMemory(cfg)
             ^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/singleton.py", line 15, in __call__
    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/home/AutoGPT-for-Android/autogpt/memory/pinecone.py", line 28, in __init__
    if table_name not in pinecone.list_indexes():
                         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/manage.py", line 185, in list_indexes
    response = api_instance.list_indexes()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 776, in __call__
    return self.callable(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api/index_operations_api.py", line 1132, in __list_indexes
    return self.call_with_http_info(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 838, in call_with_http_info
    return self.api_client.call_api(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 413, in call_api
    return self.__call_api(resource_path, method,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 200, in __call_api
    response_data = self.request(
                    ^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/api_client.py", line 439, in request
    return self.rest_client.GET(url,
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 236, in GET
    return self.request("GET", url,
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pinecone/core/client/rest.py", line 202, in request
    r = self.pool_manager.request(method, url,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/request.py", line 74, in request
    return self.request_encode_url(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/request.py", line 96, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/connection.py", line 244, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/data/data/com.termux/files/usr/lib/python3.11/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/data/data/com.termux/files/usr/lib/python3.11/http/client.py", line 1324, in _send_request
    self.putheader(hdr, value)
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/urllib3/connection.py", line 224, in putheader
    _HTTPConnection.putheader(self, header, *values)
  File "/data/data/com.termux/files/usr/lib/python3.11/http/client.py", line 1260, in putheader
    if _is_illegal_header_value(values[i]):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

Can't use local memory backend

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.