> ## Documentation Index
> Fetch the complete documentation index at: https://mrge.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat sidebar

The chat sidebar helps you quickly understand and navigate your pull requests (PRs) with intelligent, context-aware assistance directly within cubic.

<img src="https://mintcdn.com/mrge/eXeDFdBNkZEWK3p-/code-review-platform/images/sidebar.png?fit=max&auto=format&n=eXeDFdBNkZEWK3p-&q=85&s=e89638c770e4afd282b63f265cb38970" alt="AI sidebar assistant" className="border border-zinc-800 rounded-lg" width="2974" height="1750" data-path="code-review-platform/images/sidebar.png" />

## Why use AI chat?

* Quickly understand unfamiliar code or libraries.
* Get instant answers about your PR, such as explanations for failing tests or complex changes.
* Automatically draft helpful comments during code reviews.

## Opening the AI chat

To open the AI chat sidebar:

* Press `Cmd + L`.
* Or, click the AI chat icon in the top-right corner of your PR view.

The chat sidebar will appear alongside your PR, maintaining context throughout your conversation.

## Asking questions

The AI chat understands context about your specific PR, including:

* The code changes you are reviewing.
* Recent comments and review statuses.
* Repository-specific details.

Simply type your question or request, for example:

* "Why did these tests fail?"
* "Explain the use of this library."
* "Summarize changes in this PR."

The AI will respond with clear, concise information.

## Suggested comments

AI chat can suggest review comments based on the PR changes:

* AI-suggested comments appear as drafts, ready for editing.
* You have full control—edit, discard, or publish suggestions directly.
