mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-15 13:15:42 -04:00
fix: optional params in file upload API (#237)
--------- Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
This commit is contained in:
@@ -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("")
|
||||
|
||||
Reference in New Issue
Block a user