mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 01:06:27 +02:00
fix message init bug
This commit is contained in:
parent
b8d0547b7e
commit
30de3b4d64
2 changed files with 138 additions and 138 deletions
|
|
@ -327,7 +327,7 @@ class AIMessage(Message):
|
|||
"""
|
||||
|
||||
def __init__(self, content: str):
|
||||
super().__init__(content, "assistant")
|
||||
super().__init__(content=content, role="assistant")
|
||||
|
||||
|
||||
class Task(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue