> For the complete documentation index, see [llms.txt](https://docs.meganova.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meganova.ai/character-studio/chat-features/chat-sessions.md). Agents can also search and read this documentation through its [MCP server](https://docs.meganova.ai/~gitbook/mcp).

# Chat Sessions

> **Note:** Chat sessions store your conversation history with characters. Manage, continue, and organize your conversations.

## Overview

Chat sessions provide:

* **Persistent** conversation storage
* **Continuity** across visits
* **History** browsing and search
* **Management** tools

## Accessing Chat History

1. Click **Chats** in sidebar
2. View all your sessions
3. Filter and search as needed

## Session List

Each session shows:

| Element       | Description          |
| ------------- | -------------------- |
| **Character** | Who you chatted with |
| **Preview**   | Last message excerpt |
| **Date**      | When last active     |
| **Messages**  | Approximate count    |

## Managing Sessions

### Continuing a Session

1. Click on session
2. Chat loads with history
3. Continue where you left off

### Starting New Session

1. Click **New Chat** (in chat)
2. Or click character card
3. Fresh session begins

### Deleting Sessions

Single deletion:

1. Hover over session
2. Click delete icon
3. Confirm

Bulk deletion:

1. Select multiple sessions
2. Click **Delete Selected**
3. Confirm

## Session Organization

### Filtering

Filter your sessions by:

| Filter        | Options                 |
| ------------- | ----------------------- |
| **Character** | Specific character      |
| **Date**      | Today, This Week, Older |
| **Type**      | Chat, Test, Benchmark   |

### Searching

Search by:

* Character name
* Message content
* Date range

## Session Details

### Viewing Details

Click session info icon to see:

* Total messages
* Session duration
* Model used
* Tokens consumed

### Session Context

Each session maintains:

* Full message history
* Pinned memories
* Persona used
* Settings at time

## Context Management

### Context Window

Sessions use the AI's context window:

* Recent messages included
* Older messages may be trimmed
* System prompt always included

### When Context is Full

As conversation grows:

1. Oldest messages dropped
2. Important info may be lost
3. Consider pinning key facts

## Session Persistence

### Auto-Save

Sessions auto-save:

* After each exchange
* On page close
* Periodically during chat

### Manual Save

Force save:

* Use keyboard shortcut
* Click save indicator

## Session Types

| Type          | Purpose               |
| ------------- | --------------------- |
| **Chat**      | Regular conversations |
| **Test**      | Testing sessions      |
| **Benchmark** | Quality evaluation    |

Test and benchmark sessions may be stored separately.

## Best Practices

### Organization

1. **Regular cleanup** — Delete old sessions
2. **Meaningful starts** — Begin with context
3. **Pin important info** — Use memory for key facts

### Long Conversations

1. **Summarize periodically** — Recap important points
2. **Use memory** — Pin critical information
3. **Consider fresh start** — When context becomes cluttered

## See Also

* [Memory System](https://docs.meganova.ai/character-studio/chat-features/memory-system.md) — Retaining context
* [Chat Testing](https://docs.meganova.ai/character-studio/testing-quality/chat-testing.md) — Testing characters
* [User Personas](https://docs.meganova.ai/character-studio/character-features/user-personas.md) — Chat identities
