mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-20 03:17:44 +00:00
Allow a None turnId to accommodate historic chat messages
This commit is contained in:
parent
a539761c49
commit
991577aa17
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class ChatMessage(PydanticBaseModel):
|
||||||
queryFiles: Optional[List[Dict]] = None
|
queryFiles: Optional[List[Dict]] = None
|
||||||
excalidrawDiagram: Optional[List[Dict]] = None
|
excalidrawDiagram: Optional[List[Dict]] = None
|
||||||
by: str
|
by: str
|
||||||
turnId: Optional[str]
|
turnId: Optional[str] = None
|
||||||
intent: Optional[Intent] = None
|
intent: Optional[Intent] = None
|
||||||
automationId: Optional[str] = None
|
automationId: Optional[str] = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue