From 8aa89ff8e66f4a9f2de1bbc675228635ed07f6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walson=20Low=20=EF=BC=88=E5=88=98=E7=BB=B4=E6=98=87?= =?UTF-8?q?=EF=BC=89?= Date: Tue, 20 May 2025 10:27:13 +0800 Subject: [PATCH 1/2] docs: include [aws] in .secrets.template --- docs/docs/usage-guide/changing_a_model.md | 2 +- pr_agent/settings/.secrets_template.toml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/docs/usage-guide/changing_a_model.md b/docs/docs/usage-guide/changing_a_model.md index bfeb7c3a..e7f9e16a 100644 --- a/docs/docs/usage-guide/changing_a_model.md +++ b/docs/docs/usage-guide/changing_a_model.md @@ -226,7 +226,7 @@ To use Amazon Bedrock and its foundational models, add the below configuration: model="bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0" fallback_models=["bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0"] -[aws] +[aws] # in .secrets.toml AWS_ACCESS_KEY_ID="..." AWS_SECRET_ACCESS_KEY="..." AWS_REGION_NAME="..." diff --git a/pr_agent/settings/.secrets_template.toml b/pr_agent/settings/.secrets_template.toml index 6572677d..17c5e8ee 100644 --- a/pr_agent/settings/.secrets_template.toml +++ b/pr_agent/settings/.secrets_template.toml @@ -111,4 +111,9 @@ api_base = "" # Your Azure OpenAI service base URL (e.g., https://openai.xyz.co [openrouter] key = "" -api_base = "" \ No newline at end of file +api_base = "" + +[aws] +AWS_ACCESS_KEY_ID = "" +AWS_SECRET_ACCESS_KEY = "" +AWS_REGION_NAME = "" \ No newline at end of file From 453f8e19f3e020d18bf34c1b4b974d44fafd7f19 Mon Sep 17 00:00:00 2001 From: Tal Date: Sat, 24 May 2025 16:12:37 +0300 Subject: [PATCH 2/2] Update docs/docs/usage-guide/changing_a_model.md Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com> --- docs/docs/usage-guide/changing_a_model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/usage-guide/changing_a_model.md b/docs/docs/usage-guide/changing_a_model.md index e7f9e16a..bfeb7c3a 100644 --- a/docs/docs/usage-guide/changing_a_model.md +++ b/docs/docs/usage-guide/changing_a_model.md @@ -226,7 +226,7 @@ To use Amazon Bedrock and its foundational models, add the below configuration: model="bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0" fallback_models=["bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0"] -[aws] # in .secrets.toml +[aws] AWS_ACCESS_KEY_ID="..." AWS_SECRET_ACCESS_KEY="..." AWS_REGION_NAME="..."