Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

update openai model version

geekan9a7c19544a7a
diff --git a/README.md b/README.md
index 15028ef06..e5d537cb4 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ You can configure `~/.metagpt/config2.yaml` according to the [example](https://g
```yaml
llm:
- api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
+ api_type: "openai" # or azure / ollama / groq etc. Check LLMType for more options
model: "gpt-4-turbo" # or gpt-3.5-turbo
base_url: "https://api.openai.com/v1" # or forward url / other llm url
api_key: "YOUR_API_KEY"
diff --git a/config/config2.example.yaml b/config/config2.example.yaml
index 22ea5d33f..05c5702b0 100644
--- a/config/config2.example.yaml
+++ b/config/config2.example.yaml
@@ -1,5 +1,5 @@
llm:
- api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
+ api_type: "openai" # or azure / ollama / groq etc.
base_url: "YOUR_BASE_URL"
api_key: "YOUR_API_KEY"
model: "gpt-4-turbo" # or gpt-3.5-turbo
@@ -8,6 +8,7 @@ llm:
# Details: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
pricing_plan: "" # Optional. Use for Azure LLM when its model name is not the same as OpenAI's
+
# RAG Embedding.
# For backward compatibility, if the embedding is not set and the llm's api_type is either openai or azure, the llm's config will be used.
embedding:
diff --git a/config/config2.yaml b/config/config2.yaml
index 3782644a1..b3f24539c 100644
--- a/config/config2.yaml
+++ b/config/config2.yaml
@@ -2,7 +2,7 @@
# Reflected Code: https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py
# Config Docs: https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html
llm:
- api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
- model: "gpt-4-turbo" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
+ api_type: "openai" # or azure / ollama / groq etc.
+ model: "gpt-4-turbo" # or gpt-3.5-turbo
base_url: "https://api.openai.com/v1" # or forward url / other llm url
api_key: "YOUR_API_KEY"
\ No newline at end of file
diff --git a/config/examples/openrouter-wizardlm2-8x22b.yaml b/config/examples/openrouter-wizardlm2-8x22b.yaml
deleted file mode 100644
index f4836578e..000000000
--- a/config/examples/openrouter-wizardlm2-8x22b.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
-llm:
- api_type: openrouter
- base_url: "https://openrouter.ai/api/v1"
- api_key: "YOUR_API_KEY"
- model: microsoft/wizardlm-2-8x22b
\ No newline at end of file
diff --git a/metagpt/software_company.py b/metagpt/software_company.py
index 781f700a8..103ac0551 100644
--- a/metagpt/software_company.py
+++ b/metagpt/software_company.py
@@ -123,9 +123,10 @@ def startup(
DEFAULT_CONFIG = """# Full Example: https://github.com/geekan/MetaGPT/blob/main/config/config2.example.yaml
# Reflected Code: https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py
+# Config Docs: https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html
llm:
- api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
- model: "gpt-4-turbo" # or gpt-4-turbo / gpt-4-turbo
+ api_type: "openai" # or azure / ollama / groq etc.
+ model: "gpt-4-turbo" # or gpt-3.5-turbo
base_url: "https://api.openai.com/v1" # or forward url / other llm url
api_key: "YOUR_API_KEY"
"""