Skip to content

Commit 8c24c97

Browse files
committed
tuning details
1 parent edeb793 commit 8c24c97

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
6363
```bash
6464
pip install metagpt
65-
metagpt --init-config # create ~/.metagpt/config2.yaml, modify it to your own config
65+
metagpt --init-config # it will create ~/.metagpt/config2.yaml, just modify it to your needs
6666
metagpt "Create a 2048 game" # this will create a repo in ./workspace
6767
```
6868

config/config2.yaml.example

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
llm:
2-
api_type: "openai" # or azure / ollama etc.
2+
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
33
base_url: "YOUR_BASE_URL"
44
api_key: "YOUR_API_KEY"
55
model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
6+
repair_llm_output: true # when the output is not a valid json, try to repair it
7+
proxy: "YOUR_PROXY" # for LLM API requests
68

7-
proxy: "YOUR_PROXY"
9+
proxy: "YOUR_PROXY" # for tools like requests, playwright, selenium, etc.
810

911
search:
1012
api_type: "google"
@@ -41,5 +43,3 @@ iflytek_api_key: "YOUR_API_KEY"
4143
iflytek_api_secret: "YOUR_API_SECRET"
4244

4345
metagpt_tti_url: "YOUR_MODEL_URL"
44-
45-
repair_llm_output: true

docs/scripts/coverage.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
coverage run --source ./metagpt -m pytest --durations=0 --timeout=100 && coverage report -m && coverage html && open htmlcov/index.html
1+
coverage run --source ./metagpt -m pytest -n 8 --durations=0 --timeout=100 && coverage report -m && coverage html && open htmlcov/index.html

0 commit comments

Comments
 (0)