mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 00:36:55 +02:00
update openai model version
This commit is contained in:
parent
dfbdeab050
commit
9a7c19544a
5 changed files with 8 additions and 11 deletions
|
|
@ -85,7 +85,7 @@ # Check https://docs.deepwisdom.ai/main/en/guide/get_started/configuration.html
|
|||
|
||||
```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"
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue