Only allow activating a maximum of 3 plugins
Closed this issue · 1 comments
edreisMD commented
The description prompt becames too big as you add too many plugins. A max of 3 seems to be a good limit, and its the same number as OpenAI allows on ChatGPT.
sweep-ai commented
@edreisMD I have started working on this PR. My plan is to:
- Add a max_plugins attribute to the Plugins class and set it to 3
- Add logic to limit activating plugins to max_plugins
- Potentially refactor the activate() method to handle this logic
Give me a minute!
I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind!