From de8d75f15f7ed81ea62a4b56a293a5e7c0181dc0 Mon Sep 17 00:00:00 2001 From: geekan Date: Sun, 18 Feb 2024 12:19:03 +0800 Subject: [PATCH] add desc to config --- config/config2.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/config2.yaml b/config/config2.yaml index 84b201c4c..8e5825b57 100644 --- a/config/config2.yaml +++ b/config/config2.yaml @@ -1,6 +1,7 @@ -# Check https://github.com/geekan/MetaGPT/blob/main/config/config2.example.yaml for full configuration example. -# It reflects https://github.com/geekan/MetaGPT/blob/main/metagpt/config2.py +# 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 llm: api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options - api_key: "YOUR_API_KEY" - model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview \ No newline at end of file + model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview + base_url: "https://api.openai.com/v1" # or forward url / other llm url + api_key: "YOUR_API_KEY" \ No newline at end of file