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

Plugin config is invalid, continuing without plugins. Error: Invalid plugin config data type: <class 'list'> #23

Open
bcamargogui opened this issue Oct 9, 2023 · 4 comments

Comments

@bcamargogui
Copy link

While running docker compose run --rm auto-gpt --install-plugin-deps, the following error appears:

Plugin config is invalid, continuing without plugins. Error: Invalid plugin config data type: <class 'list'>

My plugins_config.yaml file content is:

commercetools:
  - config: {} # Configs from the plugin README and installation instructions.
  - enabled: true

When i remove the hyphen from the plugins_config.yaml file, the error does not appear anymore but the plugin is not loaded

@Annett-2601
Copy link

what settings should I use on the plugins_config.yaml file?

AutoGPTSpacePlugin:
    config: {}
    enabled: true

or these

plugin_a:
  config:
    api_key: my-api-key
  enabled: false
PluginB:
  config: {}
  enabled: true 

If the latest settings are to be used, is it necessary to add a CHAT_ID for the telegram bot?
thanks.

@bcamargogui
Copy link
Author

@Annett-2601 , it depends, the 2nd code block is for more than 1 plugin, but uses the same format.

Regarding the CHAT_ID, you may add this on the .env file or here on the config field.

As i'm new to Auto-GPT, it may help you to reach out on the discord platform: https://discord.gg/autogpt

@Annett-2601
Copy link

I have the same problem.
And I'm following it on Discord.
Give me a sign you solved this problem, thanks.

@bcamargogui
Copy link
Author

I get the plugin to be loaded using a different directory structure, more details on discord
https://discord.com/channels/1092243196446249134/1161308423716098088/1161757994019717350

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