Skip to content

Conversation

@aron
Copy link
Contributor

@aron aron commented Jan 26, 2024

Putting this here as it's been sitting on my hard-drive for over a week.

@mattt I think it's probably worth supporting auto-upload to the files endpoint too before we ship this, but curious as to your thoughts.

@mattt mattt marked this pull request as ready for review February 17, 2024 13:18
@mattt mattt force-pushed the base64-encode-inputs branch from e886539 to 6945c23 Compare February 17, 2024 13:29
@mattt
Copy link
Contributor

mattt commented Feb 17, 2024

@aron That's a great idea. Thanks for putting this together!

Even when we do have a files API, it would be nice to configure a client to still pass data URIs. For example, when setting a custom base URL or automatically falling back if the files API isn't available.

@mattt mattt merged commit 839e476 into main Feb 17, 2024
@mattt mattt deleted the base64-encode-inputs branch February 17, 2024 13:33
@mattt mattt changed the title WIP: Base64 encode inputs Automatically Base64 encode inputs Feb 21, 2024
@zeke
Copy link
Member

zeke commented Feb 21, 2024

Hot damn. That's a nice quality of life improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants