Rewrite each turn into a standalone query using recent history, so pronouns and references resolve before retrieval.
Keep conversation memory compact (recent turns plus a summary), and avoid retrieving again when the follow-up can be answered from earlier context.
Detect topic changes and reset retrieval context when needed, and make sure permissions and filters are applied on every turn.
Loading…