AutoGPT: local cache error
Duplicates
- I have searched the existing issues
Steps to reproduce 🕹
Using memory of type: LocalCache Traceback (most recent call last): File “C:\WINDOWS\system32\Auto-GPT\scripts\main.py”, line 318, in <module> assistant_reply = chat.chat_with_ai( ^^^^^^^^^^^^^^^^^^ File “C:\WINDOWS\system32\Auto-GPT\scripts\chat.py”, line 67, in chat_with_ai if cfg.debug_mode: ^^^^^^^^^^^^^^ AttributeError: ‘Config’ object has no attribute ‘debug_mode’. Did you mean: ‘set_debug_mode’?
Current behavior 😯
i get the error above
Expected behavior 🤔
i get the error above
Your prompt 📝
# Paste your prompt here
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (2 by maintainers)
Commits related to this issue
- Merge pull request #698 from microsoft/dependabot/github_actions/actions/setup-node-3 Bump actions/setup-node from 2 to 3 — committed to SquareandCompass/Auto-GPT by skzhang1 2 years ago
Same (or similar) issue on macOS Ventura 13.3
Getting this after “Continue (y/n)”:
I got it to work by adding one line.
Under
self.debug_mode = False
I addedself.debug = False
I’m not a coder but seems usage of debug and debug_mode aren’t used consistently throughout the codebase
This solves it, thanks a lot!
This is weird and almost surely related to #695 ? I had clean-cloned twice and got the same, then modified the lines from chat.py that contain ‘if cfg.debug’ back to ‘if cfg.debug_mode’ and it works (lol).
I am a noob, so take this with the appropriate grain of salt.