Chat & Code Edits

The review UI includes an AI chat panel for asking questions and getting code suggestions.

Opening chat

Press c or click the chat icon to toggle the chat panel. You can chat about:

Multi-tab support

Open multiple chat tabs to have parallel conversations about different parts of the review. Each tab maintains its own context and history.

Code edits

When you ask the chat for a fix, it can suggest code changes that you apply directly from the UI:

  1. Ask a question like “How should I fix this race condition?”
  2. The chat responds with an explanation and a code diff
  3. Click Apply to write the change to your local file
  4. The diff view updates to reflect the applied change

Persistence

Chat messages survive page refreshes via localStorage. Your conversation history is preserved for the duration of the review session.

Claude integration

Chat uses Claude for responses. It picks up credentials automatically:

  1. ANTHROPIC_API_KEY environment variable
  2. CLAUDE_CODE_OAUTH_TOKEN environment variable
  3. Claude CLI session (if claude login was used)