From 039f70d1c4b78a28aa9a19629bc6b1eb11bf76cb Mon Sep 17 00:00:00 2001 From: Howon Lee Date: Mon, 7 Apr 2025 14:21:23 -0700 Subject: [PATCH 1/4] call it agentic chat --- docs/guides/agent_chat.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/guides/agent_chat.md b/docs/guides/agent_chat.md index f3289b81..56bdd908 100644 --- a/docs/guides/agent_chat.md +++ b/docs/guides/agent_chat.md @@ -1,11 +1,11 @@ --- -title: Agentic Chat -sidebar_label: Agentic Chat -description: Learn about CodeRabbit Pro's agentic chat system +title: Chat and Agentic Chat +sidebar_label: Chat and Agentic Chat +description: Learn about CodeRabbit Pro's chat and agentic chat system sidebar_position: 8 --- -# Agentic Chat +# CodeRabbit Chat ```mdx-code-block import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; @@ -35,6 +35,12 @@ CodeRabbit Chat integrates real-time web search capabilities, enabling it to fet Set `enabled` to false within `web_search` within `knowledge_base` within the config in order to turn this off. +### Code Definition Integration + +CodeRabbit Chat is capable of taking definitions of code symbols from the symbol graph that CodeRabbit generates from your codebase. The CodeRabbit Chat response will indicate in its responses if it has found relevant symbols and snippets surrounding symbols in your codebase. + +Set the environment variable `ENABLE_CODE_GRAPH` in self-hosted CodeRabbit instances to turn this feature off. + ### Jira and Linear Integration CodeRabbit Chat can deal with existing issue tracking system integrations in order to integrate with your existing issues. For details on setting up issue tracking integrations, see our [Issue Integrations](../integrations/issue-integrations.md) guide and [Issue Creation](./issue-creation.md) guide. @@ -47,17 +53,17 @@ CodeRabbit Chat can insert and delete Learnings from your Learnings database. Si For rapid prototyping and quick fixes, CodeRabbit Chat is capable of generating code snippets in a single step. -### Multi-Step Agentic Flow with Planning +### Configuration Changes -When facing complex coding challenges, CodeRabbit Chat supports multi-step agentic flows that involve detailed planning and execution. Once the multi-step workflow is complete, CodeRabbit can automatically issue a pull request for the changes so you can consent to the code changes or edit them. +CodeRabbit is also capable of managing its own configuration settings upon request. This self-management allows the assistant to dynamically adapt to changing project requirements. By simplifying configuration updates, CodeRabbit helps users quickly adjust to new workflows or requirements without interrupting the development process. -CodeRabbit cannot perform further modifications to opened pull requests. From there, it's your turn to checkout the branch and improve it to satisfaction. We believe that this workflow provides a significant headstart to implementing code. +# Agentic Chat (Chat with Planning) -Multi-step agentic flows are currently only available on Github pull request review comments. Multi-step agentic flows are an early access product currently. +When facing complex coding challenges, CodeRabbit Agentic Chat supports multi-step agentic flows that involve detailed planning and execution. Once the multi-step workflow is complete, CodeRabbit can automatically issue a pull request for the changes so you can consent to the code changes or edit them. CodeRabbit can also place changes in the existing pull request branch or create copyable snippets. -### Configuration Changes +CodeRabbit cannot perform further modifications to opened pull requests. From there, it's your turn to checkout the branch and improve it to satisfaction. We believe that this workflow provides a significant headstart to implementing code. -CodeRabbit is also capable of managing its own configuration settings upon request. This self-management allows the assistant to dynamically adapt to changing project requirements. By simplifying configuration updates, CodeRabbit helps users quickly adjust to new workflows or requirements without interrupting the development process. +Agentic Chat is currently only available on Github issue, pull request and pull request review comments. Agentic Chat is an early access product currently. ### Help and Feedback From eb380569ed22d244590a7000d79ea84393cf546d Mon Sep 17 00:00:00 2001 From: Howon Lee Date: Mon, 7 Apr 2025 14:24:42 -0700 Subject: [PATCH 2/4] lol --- docs/guides/agent_chat.md | 2 ++ docs/guides/commands.md | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/docs/guides/agent_chat.md b/docs/guides/agent_chat.md index 56bdd908..88e6aea7 100644 --- a/docs/guides/agent_chat.md +++ b/docs/guides/agent_chat.md @@ -61,6 +61,8 @@ CodeRabbit is also capable of managing its own configuration settings upon reque When facing complex coding challenges, CodeRabbit Agentic Chat supports multi-step agentic flows that involve detailed planning and execution. Once the multi-step workflow is complete, CodeRabbit can automatically issue a pull request for the changes so you can consent to the code changes or edit them. CodeRabbit can also place changes in the existing pull request branch or create copyable snippets. +Agent chat can be invoked explicitly with the `@coderabbitai plan` command. + CodeRabbit cannot perform further modifications to opened pull requests. From there, it's your turn to checkout the branch and improve it to satisfaction. We believe that this workflow provides a significant headstart to implementing code. Agentic Chat is currently only available on Github issue, pull request and pull request review comments. Agentic Chat is an early access product currently. diff --git a/docs/guides/commands.md b/docs/guides/commands.md index bcbfb9ce..9314fab9 100644 --- a/docs/guides/commands.md +++ b/docs/guides/commands.md @@ -33,6 +33,12 @@ | `@coderabbitai generate docstrings` | Generates docstrings for functions in the PR | When you need automatic documentation for your code | | `@coderabbitai configuration` | Shows current CodeRabbit settings | When you need to check or export your configuration | +### Agentic Chat Commands + +| Command | Description | Use Case | +| ---------------------| ---------------------------------------------------------- | ---------------------------------------------------- | +| `@coderabbitai plan` | Get the agentic chat to plan an edit for previous comments | When you want CodeRabbit to change your code for you | + ### Help & Support | Command | Description | Use Case | From 79b8c0258006a9a27fc1fe404dbe2930f1188d62 Mon Sep 17 00:00:00 2001 From: Howon Lee Date: Mon, 7 Apr 2025 14:29:23 -0700 Subject: [PATCH 3/4] weirdo lint --- docs/guides/agent_chat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/agent_chat.md b/docs/guides/agent_chat.md index 88e6aea7..7c50d028 100644 --- a/docs/guides/agent_chat.md +++ b/docs/guides/agent_chat.md @@ -57,7 +57,7 @@ For rapid prototyping and quick fixes, CodeRabbit Chat is capable of generating CodeRabbit is also capable of managing its own configuration settings upon request. This self-management allows the assistant to dynamically adapt to changing project requirements. By simplifying configuration updates, CodeRabbit helps users quickly adjust to new workflows or requirements without interrupting the development process. -# Agentic Chat (Chat with Planning) +## Agentic Chat (Chat with Planning) When facing complex coding challenges, CodeRabbit Agentic Chat supports multi-step agentic flows that involve detailed planning and execution. Once the multi-step workflow is complete, CodeRabbit can automatically issue a pull request for the changes so you can consent to the code changes or edit them. CodeRabbit can also place changes in the existing pull request branch or create copyable snippets. From 81aaf9f53c29c9f309cce12a13c7a6b0a32148b2 Mon Sep 17 00:00:00 2001 From: Howon Lee Date: Mon, 7 Apr 2025 14:32:16 -0700 Subject: [PATCH 4/4] thinky --- docs/guides/commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/commands.md b/docs/guides/commands.md index 9314fab9..82cc44e0 100644 --- a/docs/guides/commands.md +++ b/docs/guides/commands.md @@ -36,7 +36,7 @@ ### Agentic Chat Commands | Command | Description | Use Case | -| ---------------------| ---------------------------------------------------------- | ---------------------------------------------------- | +| -------------------- | ---------------------------------------------------------- | ---------------------------------------------------- | | `@coderabbitai plan` | Get the agentic chat to plan an edit for previous comments | When you want CodeRabbit to change your code for you | ### Help & Support