mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 10:56:22 +02:00
fixbug: LLM()
This commit is contained in:
parent
c7bc975cf2
commit
2324c1c6dc
1 changed files with 1 additions and 1 deletions
|
|
@ -41,6 +41,6 @@ async def ai_func(prompt):
|
|||
|
||||
class LLMFactory:
|
||||
@staticmethod
|
||||
async def new_llm() -> object:
|
||||
def new_llm() -> object:
|
||||
llm = OpenAI_LLM() if CONFIG.LLM_TYPE == LLMType.OPENAI.value else MetaGPT_LLM()
|
||||
return llm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue