From a7357727b9aee80f22c2bcf50e638b2a013f1eb5 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Thu, 21 Dec 2023 16:06:41 +0200 Subject: [PATCH] new file: projects/deepwisdom.ai/README.md new file: projects/deepwisdom.ai/package.yml --- projects/deepwisdom.ai/README.md | 7 +++++++ projects/deepwisdom.ai/package.yml | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 projects/deepwisdom.ai/README.md create mode 100644 projects/deepwisdom.ai/package.yml diff --git a/projects/deepwisdom.ai/README.md b/projects/deepwisdom.ai/README.md new file mode 100644 index 00000000..f2da973e --- /dev/null +++ b/projects/deepwisdom.ai/README.md @@ -0,0 +1,7 @@ +### Setup your OPENAI_API_KEY, or make sure it existed in the env + +``` +mkdir ~/.metagpt/key.yaml +cp config/config.yaml ~/.metagpt/key.yaml +vim ~/.metagpt/key.yaml +``` \ No newline at end of file diff --git a/projects/deepwisdom.ai/package.yml b/projects/deepwisdom.ai/package.yml new file mode 100644 index 00000000..b110712e --- /dev/null +++ b/projects/deepwisdom.ai/package.yml @@ -0,0 +1,19 @@ +distributable: + url: https://github.com/geekan/MetaGPT/archive/v{{version}}.tar.gz + strip-components: 1 +display-name: MetaGPT +versions: + github: geekan/MetaGPT +dependencies: + # Python 3.12 ==> ModuleNotFoundError: No module named 'distutils' + python.org: '>=3.9<3.12' +build: + - python-venv.sh {{prefix}}/bin/metagpt +provides: + - bin/metagpt +test: + env: + OPENAI_API_KEY: metaGptTestKey + script: + - metagpt --help | grep 'Run a startup. Be a boss.' + # for more tests we need to set valid OPENAI_API_KEY with gpt-4 access \ No newline at end of file