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

I couldn't run plugins on Auto-GPT v0.4.3 i can run plugins in the older version but with the ALLOWLISTED_PLUGINS removd i couldnt make it work. #4854

Closed
1 task done
ilaisudri07 opened this issue Jul 1, 2023 · 5 comments
Labels

Comments

@ilaisudri07
Copy link

ilaisudri07 commented Jul 1, 2023

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

MacOS

Which version of Auto-GPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Plugins

Describe your issue.

ilais-Air:Auto-GPT ilaisudri$ python3 -m autogpt
NEWS: Welcome to Auto-GPT!
NEWS: Below you'll find the latest Auto-GPT News and updates regarding features!
NEWS: If you don't wish to see this message, you can run Auto-GPT with the --skip-news flag.
NEWS:
NEWS: Website and Documentation Site 📰📖
NEWS: Check out https://agpt.co, the official news & updates site for Auto-GPT!
NEWS: The documentation also has a place here, at https://docs.agpt.co
NEWS:
NEWS: For contributors 👷🏼
NEWS: Since releasing v0.3.0, whave been working on re-architecting the Auto-GPT core to make it more extensible and make room for structural performance-oriented R&D.
NEWS:
NEWS: Check out the contribution guide on our wiki:
NEWS: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Contributing
NEWS:
NEWS: 🚀 v0.4.3 Release 🚀
NEWS: We're happy to announce the 0.4.3 maintenance release, which primarily focuses on refining the LLM command execution,
NEWS: extending support for OpenAI's latest models (including the powerful GPT-3 16k model), and laying the groundwork
NEWS: for future compatibility with OpenAI's function calling feature.
NEWS:
NEWS: Key Highlights:
NEWS: - OpenAI API Key Prompt: Auto-GPT will now courteously prompt users for their OpenAI API key, if it's not already provided.
NEWS: - Summarization Enhancements: We've optimized Auto-GPT's use of the LLM context window even further.
NEWS: - JSON Memory Reading: Support for reading memories from JSON files has been improved, resulting in enhanced task execution.
NEWS: - Deprecated commands, removed for a leaner, more performant LLM: analyze_code, write_tests, improve_code, audio_text, web_playwright, web_requests
NEWS: Take a look at the Release Notes on Github for the full changelog!
NEWS: https://github.com/Significant-Gravitas/Auto-GPT/releases
NEWS:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/ilaisudri/Auto-GPT/autogpt/main.py", line 5, in
autogpt.cli.main()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/ilaisudri/Auto-GPT/autogpt/cli.py", line 96, in main
run_auto_gpt(
File "/Users/ilaisudri/Auto-GPT/autogpt/main.py", line 124, in run_auto_gpt
config.plugins = scan_plugins(config, config.debug_mode)
File "/Users/ilaisudri/Auto-GPT/autogpt/plugins/init.py", line 270, in scan_plugins
plugin_enabled = plugins_config.is_enabled(plugin_name)
AttributeError: 'dict' object has no attribute 'is_enabled'

Upload Activity Log Content

No response

Upload Error Log Content

No response

@derekslenk
Copy link

derekslenk commented Jul 6, 2023

Same issue on Ubuntu:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/app/autogpt/__main__.py", line 5, in <module>
    autogpt.cli.main()
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1666, in invoke
    rv = super().invoke(ctx)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 34, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/app/autogpt/cli.py", line 96, in main
    run_auto_gpt(
  File "/app/autogpt/main.py", line 124, in run_auto_gpt
    config.plugins = scan_plugins(config, config.debug_mode)
  File "/app/autogpt/plugins/__init__.py", line 270, in scan_plugins
    plugin_enabled = plugins_config.is_enabled(plugin_name)
AttributeError: 'dict' object has no attribute 'is_enabled'

My plugins_config.yaml is:

AutoGPTApiTools:
    config: {}
    enabled: true

And the AutoGPT tools plugin is a zip file in the plugins folder.

It looks like this is failing when it downloads the plugins template project and unzips it, every time.

@dvirarad
Copy link

dvirarad commented Jul 8, 2023

#4817 (comment)
fixed here

@derekslenk
Copy link

Working for me

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants