mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-09-01 04:25:58 +08:00
tuning details
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
|
||||
```bash
|
||||
pip install metagpt
|
||||
metagpt --init-config # create ~/.metagpt/config2.yaml, modify it to your own config
|
||||
metagpt --init-config # it will create ~/.metagpt/config2.yaml, just modify it to your needs
|
||||
metagpt "Create a 2048 game" # this will create a repo in ./workspace
|
||||
```
|
||||
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
llm:
|
||||
api_type: "openai" # or azure / ollama etc.
|
||||
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
|
||||
base_url: "YOUR_BASE_URL"
|
||||
api_key: "YOUR_API_KEY"
|
||||
model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
|
||||
repair_llm_output: true # when the output is not a valid json, try to repair it
|
||||
proxy: "YOUR_PROXY" # for LLM API requests
|
||||
|
||||
proxy: "YOUR_PROXY"
|
||||
proxy: "YOUR_PROXY" # for tools like requests, playwright, selenium, etc.
|
||||
|
||||
search:
|
||||
api_type: "google"
|
||||
@@ -41,5 +43,3 @@ iflytek_api_key: "YOUR_API_KEY"
|
||||
iflytek_api_secret: "YOUR_API_SECRET"
|
||||
|
||||
metagpt_tti_url: "YOUR_MODEL_URL"
|
||||
|
||||
repair_llm_output: true
|
||||
|
||||
@@ -1 +1 @@
|
||||
coverage run --source ./metagpt -m pytest --durations=0 --timeout=100 && coverage report -m && coverage html && open htmlcov/index.html
|
||||
coverage run --source ./metagpt -m pytest -n 8 --durations=0 --timeout=100 && coverage report -m && coverage html && open htmlcov/index.html
|
||||
|
||||
Reference in New Issue
Block a user