Replies: 3 comments
-
|
Would you mind filing an issue? this could be great enhancement |
Beta Was this translation helpful? Give feedback.
-
|
Hi @sahas-si how did you end up implementing this? This reminds me a lot of Cursor's prompt input component which allows you to not only add files, but also other context such as a URLs, custom rules, result of a RAG call for a certain search, or enable certain tools such as as
@lgrammel is there already a recommended pattern for this in AI SDK v5? I considered the following before:
I've also looked at Thanks |
Beta Was this translation helpful? Give feedback.
-
|
This discussion was automatically locked because it has not been updated in over 30 days. If you still have questions about this topic, please ask us at community.vercel.com/ai-sdk |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
In our application we have the below requirements
My query:
How can we render these filters along with the message content? I've seen that handleSubmit directly sets the user message with content. How to update the user message to add these filters? Which message attribute should be updated? Can we add custom attributes to the message?
handleSubmit logic updating the user message:

Beta Was this translation helpful? Give feedback.
All reactions