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

On fresh download, Error in new current GitHub Repo #872

Closed
1 task done
theekruger opened this issue Apr 11, 2023 · 4 comments
Closed
1 task done

On fresh download, Error in new current GitHub Repo #872

theekruger opened this issue Apr 11, 2023 · 4 comments

Comments

@theekruger
Copy link

theekruger commented Apr 11, 2023

Duplicates

  • I have searched the existing issues

Steps to reproduce 🕹

Error present as of 1630PST April 11th 2023

Open a fresh environment

Open Powershell (as admin if applicable)

Ensure you are in the correct directory via:
cd [your path]

Download repo via git:
git clone https://github.com/Torantulino/Auto-GPT.git

Then setup requirements in fresh env:
pip install -r requirements.txt

Then boot up autogpt instance via:

python scripts\main.py --gpt3only

(alternatively can also do it without the "--gpt3only" configuration, error is present with speak and with either specification (aka just: python scripts\main.py ))

Error will present:

Using memory of type: LocalCache
Traceback (most recent call last):
File "[your path], line 321, in
assistant_reply = chat.chat_with_ai(
File [your path]", line 67, in chat_with_ai
if cfg.debug:
AttributeError: 'Config' object has no attribute 'debug'

Current behavior 😯

It just doesn't load, it kicks these errors, unable to find the "debug" attribute in the "Config" object.

Expected behavior 🤔

It should loath the main.py for interfacing with autogpt scripts

Your prompt 📝

# Paste your prompt here

N/A

@Slowly-Grokking
Copy link
Contributor

see how your error is listed here:

AttributeError: 'Config' object has no attribute 'debug'

try searching the existing issues for "config" or debug"

Duplicate:
#860
#803
#858
#818
#835
#869
etc.

@theekruger
Copy link
Author

theekruger commented Apr 12, 2023

see how your error is listed here:

AttributeError: 'Config' object has no attribute 'debug'

try searching the existing issues for "config" or debug"

Duplicate: #860 #803 #858 #818 #835 #869 etc.

You are correct indeed and I just updated the chat.py as per:
https://github.com/Torantulino/Auto-GPT/blob/225ece51146468d84365be2f3918033d10c96bec/scripts/chat.py

I had assumed this wasn't applicable because it was a fix already posted. I didn't realize it wasn't part of the repo, my apologies. Thank you for the nudge in the right direction.

Chat.py edit works btw, for other future readers.

@Slowly-Grokking
Copy link
Contributor

Thank you for the nudge in the right direction.

Awesome! Happy that I was able to help.

@richbeales
Copy link
Contributor

fixed

SquareandCompass pushed a commit to SquareandCompass/Auto-GPT that referenced this issue Oct 21, 2023
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

3 participants