Skip to content

refactor(loading.py): use get method to set allowed_tools to an empty list if it is not present in params dictionary#237

Merged
ogabrielluiz merged 7 commits into
mainfrom
dev
May 2, 2023
Merged

refactor(loading.py): use get method to set allowed_tools to an empty list if it is not present in params dictionary#237
ogabrielluiz merged 7 commits into
mainfrom
dev

Conversation

@ogabrielluiz
Copy link
Copy Markdown
Contributor

Possible fix for #236
Possible fix for running in https

@ogabrielluiz ogabrielluiz added the Release Label to be set only on release PR label May 2, 2023
This commit changes the `tool_names` variable from a set to a list in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, `VectorStoreRouterAgent`, `MalfoyAgent`, and `load_agent_executor_from_config` classes. This is done to ensure that the `tool_names` variable is always a list, even when there is only one tool.
@ogabrielluiz ogabrielluiz merged commit 4ee8917 into main May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release Label to be set only on release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant