mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
e910345810
add OPEN_API_MODEL key to test; convert to `bkpyvenv`. closes #4704
31 lines
710 B
YAML
31 lines
710 B
YAML
distributable:
|
|
url: https://github.com/geekan/MetaGPT/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: MetaGPT
|
|
|
|
versions:
|
|
github: geekan/MetaGPT
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
# Python 3.12 ==> ModuleNotFoundError: No module named 'distutils'
|
|
python.org: '>=3.9<3.12'
|
|
script:
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
- bkpyvenv seal {{prefix}} metagpt
|
|
|
|
provides:
|
|
- bin/metagpt
|
|
|
|
test:
|
|
env:
|
|
OPENAI_API_KEY: metaGptTestKey
|
|
OPENAI_API_MODEL: gpt-4-1106-preview
|
|
script:
|
|
# for more tests we need to set valid OPENAI_API_KEY with gpt-4 access
|
|
- metagpt --help | grep 'Run a startup. Be a boss.'
|