Closed thucpn closed 4 weeks ago
Latest commit: 4cf765d966e6d633142060a6d49302fa07732ee6
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The change improves the FileUploadRequest
class by modifying the params
attribute to have a default value of None
. This allows for easier instance creation without the need to specify params
, streamlining the code and reducing potential issues with uninitialized values. Additionally, a new patch addresses a bug in file uploads related to LlamaCloud, enhancing reliability and user experience during private file uploads.
Files | Change Summary |
---|---|
templates/types/streaming/fastapi/app/api/routers/upload.py |
Updated FileUploadRequest class to set params attribute default to None , simplifying instantiation. |
.changeset/five-maps-arrive.md |
Introduced patch "create-llama" to fix a bug in private file uploads with LlamaCloud, improving reliability. |
In the code where rabbits play,
A change has brightened up the day!
Withparams
now set toNone
,
Instantiation's easier, oh what fun!
Less fuss, more joy, clean and neat,
Hopping through code, isn't that sweet? 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
FileUploadRequest
class now allows for easier instantiation by defaulting theparams
attribute toNone
, simplifying the usage of this class for end-users.