mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Set default value of attached files to empty list
This commit is contained in:
@@ -166,7 +166,7 @@ class ChatRequestBody(BaseModel):
|
|||||||
country_code: Optional[str] = None
|
country_code: Optional[str] = None
|
||||||
timezone: Optional[str] = None
|
timezone: Optional[str] = None
|
||||||
images: Optional[list[str]] = None
|
images: Optional[list[str]] = None
|
||||||
files: Optional[list[FileAttachment]] = None
|
files: Optional[list[FileAttachment]] = []
|
||||||
create_new: Optional[bool] = False
|
create_new: Optional[bool] = False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user