mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 08:46:48 +02:00
add: add role's custom config
This commit is contained in:
parent
313d5d41f3
commit
ac9a5e9ec9
4 changed files with 85 additions and 1 deletions
|
|
@ -13,6 +13,38 @@ llm:
|
|||
# - gpt-4 8k: "gpt-4"
|
||||
# See for more: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
|
||||
|
||||
# Role's custom configuration
|
||||
# Priority: Role's configuration > Global configuration
|
||||
roles:
|
||||
- role: "ProductManager" # role's className or role's role_id
|
||||
llm:
|
||||
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
|
||||
base_url: "YOUR_BASE_URL"
|
||||
api_key: "YOUR_API_KEY"
|
||||
proxy: "YOUR_PROXY" # for LLM API requests
|
||||
model: "gpt-4-turbo-1106"
|
||||
- role: "Architect"
|
||||
llm:
|
||||
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
|
||||
base_url: "YOUR_BASE_URL"
|
||||
api_key: "YOUR_API_KEY"
|
||||
proxy: "YOUR_PROXY" # for LLM API requests
|
||||
model: "gpt-35-turbo"
|
||||
- role: "ProjectManager"
|
||||
llm:
|
||||
api_type: "azure"
|
||||
base_url: "YOUR_BASE_URL"
|
||||
api_key: "YOUR_API_KEY"
|
||||
api_version: "YOUR_API_VERSION"
|
||||
model: "gpt-4-1106"
|
||||
- role: "Engineer"
|
||||
llm:
|
||||
api_type: "azure"
|
||||
base_url: "YOUR_BASE_URL"
|
||||
api_key: "YOUR_API_KEY"
|
||||
api_version: "YOUR_API_VERSION"
|
||||
model: "gpt-35-turbo-1106"
|
||||
|
||||
repair_llm_output: true # when the output is not a valid json, try to repair it
|
||||
|
||||
proxy: "YOUR_PROXY" # for tools like requests, playwright, selenium, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue