mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Set default value of attached files to empty list
This commit is contained in:
parent
3a51996f64
commit
9bbe27fe36
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue