Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
To reproduce
- Start a conversation in chat bot
- Prompt the LLM to output long sequence
- Refresh the page and enter previous conversation
A possible solution
In message list API, add a workflow_run_id field to each message. The frontend tries to subscribe to last workflow run in the conversation.
In broadcast_channel, expose a boolean field called replay in subscribe APIs. If replay == True, the id used in xread should be 0 instead of $.
Consider using group in order to consume from the beginning.
2. Additional context or comments
No response
3. Can you help us with this feature?
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
To reproduce
A possible solution
In message list API, add a
workflow_run_idfield to each message. The frontend tries to subscribe to last workflow run in the conversation.In
broadcast_channel, expose a boolean field calledreplayin subscribe APIs. Ifreplay == True, the id used inxreadshould be0instead of$.Consider using
groupin order to consume from the beginning.2. Additional context or comments
No response
3. Can you help us with this feature?