Skip to content

Rehydrate an expired Expert conversation instead of disabling chat #8534

Description

@andypalmi

A user who stays in the Expert chat for more than 30 minutes hits the conversation expiry: "Your conversation history will expire soon" followed by "Your conversation history has expired. Chat is now disabled. Click Start Over to begin a new conversation." During onboarding this is a dead end: the funnel has no navigation, and asking a brand-new user to start over throws away the intake they just went through.

When the history expires, rehydrate the chat with a new conversation id transparently: keep the visible messages in place, swap the id underneath, and let the user simply send their next message and go forward. Never disable the input or ask them to start over.

The same applies to the normal Expert channel: remove the expired-chat Start Over dead end there too and renew silently.

Done when: a chat left open past the expiry keeps accepting messages, in onboarding and in the regular Expert drawer, with no expiry banners and no Start Over prompt.

Activity

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

Metadata

Metadata

Assignees

Labels

area:ff-expertFlowFuse AI Assistantarea:frontendFor any issues that require work in the frontend/UItype:bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions