Conversation history via AG-UI #1160
Replies: 2 comments 2 replies
|
I would treat For the three questions:
So the practical pattern is: store by |
|
We've implemented the pattern @fjgbue describes, with a few concrete choices that may help others — and clear labels for what is protocol vs application. 1. Listing conversationsAgree this is application state, not AG-UI core. We expose a threads list endpoint (filterable metadata, pagination) owned by our backend. AG-UI does not need to standardize a thread index to be useful. 2. Hydrating history on page load (no new user message)We use a dedicated state read:
Protocol divergence: this is not a core AG-UI operation. It is the same class of out-of-band convenience discussed in #1827 ( For reconnecting to a still-running turn we additionally return an 3. Sending full
|
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone, wondering if there is a recommended approach to building conversation history via AG-UI? I have a few questions and would love to hear how others are solving these.
threadId)?threadIdthat contains previous chat history. How would frontend ask the backend to retrieve previous history based on thethreadId, when the user has not yet typed a new question?All reactions