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:
- A specific review group (context-aware)
- The entire PR (global context)
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:
- Ask a question like “How should I fix this race condition?”
- The chat responds with an explanation and a code diff
- Click Apply to write the change to your local file
- 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:
ANTHROPIC_API_KEYenvironment variableCLAUDE_CODE_OAUTH_TOKENenvironment variable- Claude CLI session (if
claude loginwas used)