isaiahbjork / Auto-GPT-Crypto-Plugin

The AutoGPT Crypto Plugin is a software tool that enables traders to connect their Crypto wallet or exchange to Auto-GPT.
https://github.com/isaiahbjork/Auto-GPT-Crypto-Plugin
MIT License
268 stars 45 forks source link

Only register commands you have ENVARs for #2

Closed ntindle closed 1 year ago

ntindle commented 1 year ago

Right now, your plugin can crash autogpt if you don't have the envars set correctly and it tries to execute one of your commands that were registered. Only allow registering of a command once the relevant keys are added

https://github.com/isaiahbjork/Auto-GPT-Crypto-Plugin/blob/c6a130dd698359e7cc10e1aa3f8116f06434dd43/src/auto_gpt_crypto/__init__.py#L49

isaiahbjork commented 1 year ago

Everything should be fixed now.