Skip to content

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

feat: + LLMType

莘权 马154f67c5e324
diff --git a/metagpt/llm.py b/metagpt/llm.py
index 0ef23d0be..e31eee908 100644
--- a/metagpt/llm.py
+++ b/metagpt/llm.py
@@ -9,7 +9,8 @@
from enum import Enum
from metagpt.provider.anthropic_api import Claude2 as Claude
-from metagpt.provider.openai_api import OpenAIGPTAPI as LLM
+from metagpt.provider.metagpt_llm_api import MetaGPTLLMAPI as MetaGPT_LLM
+from metagpt.provider.openai_api import OpenAIGPTAPI as OpenAI_LLM
class LLMType(Enum):
@@ -29,7 +30,8 @@ class LLMType(Enum):
return LLMType.UNKNOWN
-DEFAULT_LLM = LLM()
+DEFAULT_LLM = OpenAI_LLM()
+DEFAULT_METAGPT_LLM = MetaGPT_LLM()
CLAUDE_LLM = Claude()