Allow a None turnId to accommodate historic chat messages

This commit is contained in:
sabaimran 2024-11-30 14:39:08 -08:00
parent a539761c49
commit 991577aa17

View file

@ -110,7 +110,7 @@ class ChatMessage(PydanticBaseModel):
queryFiles: Optional[List[Dict]] = None
excalidrawDiagram: Optional[List[Dict]] = None
by: str
turnId: Optional[str]
turnId: Optional[str] = None
intent: Optional[Intent] = None
automationId: Optional[str] = None