mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-07 23:02:38 +02:00
按照要求修改
This commit is contained in:
parent
e2af76fb08
commit
f3c7da32a0
41 changed files with 342 additions and 944 deletions
|
|
@ -9,10 +9,10 @@
|
|||
```python
|
||||
from typing import Optional
|
||||
from abc import ABC
|
||||
import metagpt.llm as LLM # 大语言模型,类似GPT
|
||||
|
||||
from metagpt.llm import LLM # Large language model, similar to GPT
|
||||
n
|
||||
class Action(ABC):
|
||||
def __init__(self, name='', context=None, llm: llm=LLM.DEFAULT_LLM):
|
||||
def __init__(self, name='', context=None, llm: LLM = LLM()):
|
||||
self.name = name
|
||||
self.llm = llm
|
||||
self.context = context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue