feat: +ver

feat: Moderation + llm arg

feat: +log
This commit is contained in:
莘权 马 2024-01-10 21:13:36 +08:00
parent 0788080e20
commit 29d8326c06
4 changed files with 9 additions and 5 deletions

View file

@ -11,8 +11,8 @@ from metagpt.llm import LLM
class Moderation:
def __init__(self):
self.llm = LLM()
def __init__(self, llm=None):
self.llm = llm or LLM()
def handle_moderation_results(self, results):
resp = []