init project

This commit is contained in:
吴承霖 2023-06-30 17:10:48 +08:00
commit c871144507
204 changed files with 7220 additions and 0 deletions

1
scripts/coverage.sh Executable file
View file

@ -0,0 +1 @@
coverage run --source ./metagpt -m pytest && coverage report -m && coverage html && open htmlcov/index.html

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
find metagpt | grep "\.py" | grep -Ev "(__init__|pyc)" | xargs grep -E "(^class| def )" 2>/dev/null | grep -v -E "(grep|tests|examples)"

3
scripts/set_env_example.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
export OPENAI_API_KEY=YOUR_KEY