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

Cannot add command 'x': parameter 'x' has invalid type '<x>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean']) #239

Open
rsindall opened this issue Feb 2, 2024 · 2 comments · May be fixed by #240

Comments

@rsindall
Copy link

rsindall commented Feb 2, 2024

I am unable to get any 1st or 3rd party plugins to work...

I am getting these errors:

2024-02-02 23:53:08,634 INFO  AutoGPT-YouTube: 0.3.0 - This is a plugin for Auto-GPT which enables access to certain YouTube features.
2024-02-02 23:53:08,962 INFO  NOTE: All files/directories created by this agent can be found inside its workspace at: /app/data/agents/NewsAnalyzerGPT-9725b11c/workspace
2024-02-02 23:53:08,964 WARNING  Cannot add command 'api': parameter 'host' has invalid type '<str>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:08,964 WARNING  Cannot add command 'News Search': parameter 'query' has invalid type '<query>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:08,965 WARNING  Cannot add command 'create_task': parameter 'task_id' has invalid type '<int>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:08,966 WARNING  Cannot add command 'mark_task_completed': parameter 'task_id' has invalid type '<int>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,005 WARNING  Cannot add command 'go_to_website': parameter 'url' has invalid type '<url>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,006 WARNING  Cannot add command 'click_element_by_id': parameter 'id' has invalid type '<id>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,006 WARNING  Cannot add command 'input_text_by_id': parameter 'id' has invalid type '<id>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,007 WARNING  Cannot add command 'input_text_by_id_and_press_enter': parameter 'id' has invalid type '<id>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,007 WARNING  Cannot add command 'scroll': parameter 'direction' has invalid type '<directionToScroll>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,319 WARNING  Cannot add command 'download_youtube_video': parameter 'url' has invalid type '<string>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,319 WARNING  Cannot add command 'download_youtube_audio': parameter 'url' has invalid type '<string>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
2024-02-02 23:53:09,482 WARNING  Cannot add command 'get_youtube_transcript': parameter 'url' has invalid type '<string>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])
@rsindall
Copy link
Author

rsindall commented Feb 3, 2024

Or

2024-02-03 00:00:00,248 WARNING Cannot add command 'News Search': parameter 'query' has invalid type '<query>'. Valid types are: dict_keys(['string', 'array', 'object', 'number', 'integer', 'boolean'])

@clsung
Copy link

clsung commented Feb 6, 2024

should replace it with "string"

{"query": "string"},

@Code-WSY Code-WSY linked a pull request Apr 29, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants