From 91bf5a78df6e0ab3be03d60f2dc5567e1a5e5540 Mon Sep 17 00:00:00 2001 From: Hasit Mistry Date: Fri, 18 Jul 2025 09:56:45 -0700 Subject: [PATCH 1/2] Add cross-region inference option for AWS in self-hosted documentation --- docs/self-hosted/azure-devops.md | 3 +++ docs/self-hosted/bitbucket.md | 3 +++ docs/self-hosted/github.md | 3 +++ docs/self-hosted/gitlab.md | 3 +++ 4 files changed, 12 insertions(+) diff --git a/docs/self-hosted/azure-devops.md b/docs/self-hosted/azure-devops.md index c8926b0f..74f5148c 100644 --- a/docs/self-hosted/azure-devops.md +++ b/docs/self-hosted/azure-devops.md @@ -103,6 +103,9 @@ LLM_TIMEOUT=360000 AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= +# optionally, use cross-region inference to access models in other regions +# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +AWS_USE_CROSS_REGION_INFERENCE=[] TEMP_PATH=/cache diff --git a/docs/self-hosted/bitbucket.md b/docs/self-hosted/bitbucket.md index bccbb251..11976115 100644 --- a/docs/self-hosted/bitbucket.md +++ b/docs/self-hosted/bitbucket.md @@ -95,6 +95,9 @@ LLM_TIMEOUT=360000 AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= +# optionally, use cross-region inference to access models in other regions +# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +AWS_USE_CROSS_REGION_INFERENCE=[] # System Configuration TEMP_PATH=/cache diff --git a/docs/self-hosted/github.md b/docs/self-hosted/github.md index 6e2b27c1..81606ba1 100644 --- a/docs/self-hosted/github.md +++ b/docs/self-hosted/github.md @@ -106,6 +106,9 @@ LLM_TIMEOUT=360000 AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= +# optionally, use cross-region inference to access models in other regions +# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +AWS_USE_CROSS_REGION_INFERENCE=[] # if using Anthropic LLM_PROVIDER=anthropic diff --git a/docs/self-hosted/gitlab.md b/docs/self-hosted/gitlab.md index 395d93fc..24afd2db 100644 --- a/docs/self-hosted/gitlab.md +++ b/docs/self-hosted/gitlab.md @@ -134,6 +134,9 @@ LLM_TIMEOUT=360000 AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= +# optionally, use cross-region inference to access models in other regions +# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +AWS_USE_CROSS_REGION_INFERENCE=[] # if using Anthropic LLM_PROVIDER=anthropic From 6bfb8cdcb4ae95bd0eb5efb2d13ddae206de1924 Mon Sep 17 00:00:00 2001 From: Hasit Mistry Date: Fri, 18 Jul 2025 11:06:34 -0700 Subject: [PATCH 2/2] Clarify cross-region inference documentation across Azure DevOps, Bitbucket, GitHub, and GitLab integration guides --- docs/self-hosted/azure-devops.md | 2 +- docs/self-hosted/bitbucket.md | 2 +- docs/self-hosted/github.md | 2 +- docs/self-hosted/gitlab.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/self-hosted/azure-devops.md b/docs/self-hosted/azure-devops.md index 74f5148c..7fc28ad8 100644 --- a/docs/self-hosted/azure-devops.md +++ b/docs/self-hosted/azure-devops.md @@ -104,7 +104,7 @@ AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= # optionally, use cross-region inference to access models in other regions -# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +# if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. AWS_USE_CROSS_REGION_INFERENCE=[] TEMP_PATH=/cache diff --git a/docs/self-hosted/bitbucket.md b/docs/self-hosted/bitbucket.md index 11976115..d1ef7492 100644 --- a/docs/self-hosted/bitbucket.md +++ b/docs/self-hosted/bitbucket.md @@ -96,7 +96,7 @@ AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= # optionally, use cross-region inference to access models in other regions -# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +# if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. AWS_USE_CROSS_REGION_INFERENCE=[] # System Configuration diff --git a/docs/self-hosted/github.md b/docs/self-hosted/github.md index 81606ba1..c91d3cbf 100644 --- a/docs/self-hosted/github.md +++ b/docs/self-hosted/github.md @@ -107,7 +107,7 @@ AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= # optionally, use cross-region inference to access models in other regions -# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +# if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. AWS_USE_CROSS_REGION_INFERENCE=[] # if using Anthropic diff --git a/docs/self-hosted/gitlab.md b/docs/self-hosted/gitlab.md index 24afd2db..c0535646 100644 --- a/docs/self-hosted/gitlab.md +++ b/docs/self-hosted/gitlab.md @@ -135,7 +135,7 @@ AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION= # optionally, use cross-region inference to access models in other regions -# for example, if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. +# if this is set to `true`, CodeRabbit will access models from `us`, `eu`, or `ap` regions based on the AWS_REGION value. AWS_USE_CROSS_REGION_INFERENCE=[] # if using Anthropic