mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
refine code
This commit is contained in:
parent
b338dfca64
commit
ad525acd33
2 changed files with 22 additions and 19 deletions
|
|
@ -15,4 +15,5 @@ from metagpt.provider.base_llm import BaseLLM
|
|||
|
||||
def LLM(name: Optional[str] = None, provider: LLMType = LLMType.OPENAI) -> BaseLLM:
|
||||
"""get the default llm provider if name is None"""
|
||||
# context.use_llm(name=name, provider=provider)
|
||||
return context.llm(name=name, provider=provider)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue