danikhan632 / Auto-GPT-AlpacaTrader-Plugin

MIT License
108 stars 19 forks source link

added CI job to test plugin installation #6

Closed h4ck3rk3y closed 1 year ago

h4ck3rk3y commented 1 year ago

I have recently added integration tests to the standard repository that ensure that the plugins install as expected. I have created a PR for your repository with the similar integration test. As I am not an admin here I can't trigger the workflow but it works like - https://github.com/h4ck3rk3y/Auto-GPT-Crypto-Plugin/actions/runs/4959559330/jobs/8873833979?pr=1

if you(author) create a PR or someone else creates a PR it will try running that branch against Auto-GPT to ensure that the plugin works as expected


Disclaimer - I am working on a tool called Kurtosis! The same tool that is used in the ci.yml I added. With Kurtosis running AutoGPT is as simple as -

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "ALLOWLISTED_PLUGINS": "AutoGPTAlpacaTraderPlugin"}'
kurtosis service shell autogpt autogpt --exec "python -m autogpt"

Kurtosis takes care of downloading the plugin for you & setting up the backend (you could have passed in"MEMORY_BACKEND": "weaviate" and we would have spun it up for you)

Here is our AutoGPT-Package

Adding support for a new plugin to Kurtosis is as simple as adding a line here

danikhan632 commented 1 year ago

thank you, been meaning to implement unit testing