# MentorConversationChangeReason enum

> Why the conversation of a session changed, as IMentorRagSource.OnConversationChangedAsync is told.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorconversationchangereason
- Verified with: MentorAgent 1.4.0
- Last updated: 2026-11-18
- Packages: Novior.MentorAgent

## Definition

Namespace: `Novior.MentorAgent.Rag`. Package: `Novior.MentorAgent`.

`public enum MentorConversationChangeReason`

```shell
dotnet add package Novior.MentorAgent
```

## Values

| Value | Number | Description |
|---|---|---|
| `Reset` | 0 | The user started a new conversation: `IMentorOrchestrator.ResetSessionAsync`, the widget's New conversation. |
| `Restored` | 1 | A saved conversation was restored in its place (`RestoreSessionAsync`). |
| `Replaced` | 2 | A restored conversation the service no longer knows was replaced by a new one, on its first turn (BUG-110). That turn ends with the user told; the next one is the new conversation's first. |

---

- Previous: [MentorConversationChange class](https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorconversationchange.md)
- Next: [MentorRagRequest class](https://docs.mentoragent.net/api/novior-mentoragent-rag/mentorragrequest.md)
