fixbug: recursive import

This commit is contained in:
莘权 马 2023-11-09 10:02:26 +08:00
parent bb050142f7
commit 7504ed5757
2 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ class Message(BaseModel):
role: str = "user" # system / user / assistant
cause_by: str = ""
sent_from: str = ""
send_to: Set = Field(default_factory=set)
send_to: Set = Field(default_factory={MESSAGE_ROUTE_TO_ALL})
def __init__(
self,