Merge branch 'main'

This commit is contained in:
ziming 2023-09-25 22:24:09 +08:00
commit c18f384356
17 changed files with 373 additions and 20 deletions

View file

@ -9,10 +9,10 @@
```python
from typing import Optional
from abc import ABC
from metagpt.llm import LLM # Large language model, similar to GPT
n
import metagpt.llm as LLM # 大语言模型,类似GPT
class Action(ABC):
def __init__(self, name='', context=None, llm: LLM = LLM()):
def __init__(self, name='', context=None, llm: llm=LLM.DEFAULT_LLM):
self.name = name
self.llm = llm
self.context = context