Auto-GPT-Plugin-Template icon indicating copy to clipboard operation
Auto-GPT-Plugin-Template copied to clipboard

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

Open guilhermedotcamargo opened this issue 2 years ago • 4 comments

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

guilhermedotcamargo avatar Oct 09 '23 15:10 guilhermedotcamargo

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.

Annett-2601 avatar Oct 10 '23 13:10 Annett-2601

@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

guilhermedotcamargo avatar Oct 10 '23 14:10 guilhermedotcamargo

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

Annett-2601 avatar Oct 10 '23 15:10 Annett-2601

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

guilhermedotcamargo avatar Oct 11 '23 20:10 guilhermedotcamargo