One of the features I shipped in assistant-ui was file attachments. To give users early access to this feature, I added the
experimental_attachments
field to our messages object:type UserMessage = { // ...other fields experimental_attachments: Attachment[]; // new! }
A few months passed and I was ready to mark the feature as stable, but renaming
experimental_attachments
toattachments
was a breaking change. The API didn't change, yet users had to update their code.
continue reading on blog.simonfarshid.com
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.