gravelBridge / AutoGPT-BingAI

An AutoGPT plugin to enable Bing AI in AutoGPT.
MIT License
172 stars 33 forks source link

added installation test integration test #4

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 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": "BingAI"}'
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