Set default value of attached files to empty list

This commit is contained in:
sabaimran 2024-11-07 17:12:45 -08:00
parent 3a51996f64
commit 9bbe27fe36

View file

@ -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