fix: optional params in file upload API (#237)

---------
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
This commit is contained in:
Thuc Pham
2024-08-15 11:00:53 +07:00
committed by GitHub
parent d93ec803f5
commit 2b7a5d8797
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"create-llama": patch
---
Fix: private file upload not working in Python without LlamaCloud
@@ -14,7 +14,7 @@ logger = logging.getLogger("uvicorn")
class FileUploadRequest(BaseModel):
base64: str
filename: str
params: Any
params: Any = None
@r.post("")