Add a per-user account flag that controls whether previous conversations are used as context or for RAG lookup. When enabled, the user gets a more tailored experience based on their chat history.
Requirements
Add a boolean flag on the user account (e.g. use_conversation_context / use_history_rag) that enables using previous conversations as context or RAG lookup.
Default: off — opt-in only; do not enable for existing or new users unless they turn it on.
Expose the toggle in the relevant user/settings API so the frontend can read and update it.
When the flag is on, include prior conversation history (or RAG over it) in chat requests so responses can be more personalized.
When the flag is off, do not use previous conversations for context/RAG.
UX / frontend notes
Toggle should be off by default in the UI.
Provide a tooltip that explains: this will use previous conversations to better customize the experience.
Acceptance criteria
User model (or related settings) has a boolean field defaulting to false
Migration included for the new field
API supports getting/updating the flag
Chat/RAG path respects the flag (skip history context when off)
Documented for frontend: toggle + tooltip copy about using previous conversations to customize the experience
## Summary
Add a per-user account flag that controls whether previous conversations are used as context or for RAG lookup. When enabled, the user gets a more tailored experience based on their chat history.
## Requirements
- Add a boolean flag on the user account (e.g. `use_conversation_context` / `use_history_rag`) that enables using previous conversations as context or RAG lookup.
- **Default: off** — opt-in only; do not enable for existing or new users unless they turn it on.
- Expose the toggle in the relevant user/settings API so the frontend can read and update it.
- When the flag is on, include prior conversation history (or RAG over it) in chat requests so responses can be more personalized.
- When the flag is off, do not use previous conversations for context/RAG.
## UX / frontend notes
- Toggle should be off by default in the UI.
- Provide a tooltip that explains: this will use previous conversations to better customize the experience.
## Acceptance criteria
- [ ] User model (or related settings) has a boolean field defaulting to `false`
- [ ] Migration included for the new field
- [ ] API supports getting/updating the flag
- [ ] Chat/RAG path respects the flag (skip history context when off)
- [ ] Documented for frontend: toggle + tooltip copy about using previous conversations to customize the experience
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Add a per-user account flag that controls whether previous conversations are used as context or for RAG lookup. When enabled, the user gets a more tailored experience based on their chat history.
Requirements
use_conversation_context/use_history_rag) that enables using previous conversations as context or RAG lookup.UX / frontend notes
Acceptance criteria
falseFrontend counterpart: ai_ml_operations/chat_web_app#66