mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
feat: + LLMType
This commit is contained in:
parent
832294809b
commit
154f67c5e3
1 changed files with 4 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue