mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-05 16:02:14 +02:00
feat: +ver
feat: Moderation + llm arg feat: +log
This commit is contained in:
parent
0788080e20
commit
29d8326c06
4 changed files with 9 additions and 5 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue