From c8a9713885dd4af847ef0b05142e39bfec4bdeb8 Mon Sep 17 00:00:00 2001 From: Masahiro Nagano Date: Wed, 5 Aug 2026 21:11:30 +0900 Subject: [PATCH 1/2] tune pr-agent for Kimi K2.7 Code --- .github/workflows/pr-agent.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-agent.yml b/.github/workflows/pr-agent.yml index e47f8f6..1b9a9fc 100644 --- a/.github/workflows/pr-agent.yml +++ b/.github/workflows/pr-agent.yml @@ -25,5 +25,11 @@ jobs: github_action_config.auto_improve: "true" github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "synchronize"]' config.model: "openai/preview/Kimi-K2.7-Code" - config.fallback_models: '["openai/preview/Qwen3.6-35B-A3B","openai/gpt-oss-120b"]' - config.custom_model_max_tokens: 32000 + config.fallback_models: '["openai/preview/Kimi-K2.7-Code"]' + config.custom_model_max_tokens: 256000 + config.max_model_tokens: 120000 + config.temperature: "0.2" + pr_reviewer.num_code_suggestions: "3" + pr_reviewer.enable_review_score: "false" + pr_reviewer.extra_instructions: | + You are a senior software engineer and code reviewer. You will review the code in the pull request and provide feedback on bugs, security, performance, and maintainability. You will not provide feedback on style or formatting. You will be concise in your feedback. From c969ecb22984ee0a95a8a4de21ac1b96a469818b Mon Sep 17 00:00:00 2001 From: Masahiro Nagano Date: Wed, 5 Aug 2026 21:19:12 +0900 Subject: [PATCH 2/2] fallback and enable commitable_code_suggestions --- .github/workflows/pr-agent.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-agent.yml b/.github/workflows/pr-agent.yml index 1b9a9fc..3dd05c0 100644 --- a/.github/workflows/pr-agent.yml +++ b/.github/workflows/pr-agent.yml @@ -25,10 +25,11 @@ jobs: github_action_config.auto_improve: "true" github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "synchronize"]' config.model: "openai/preview/Kimi-K2.7-Code" - config.fallback_models: '["openai/preview/Kimi-K2.7-Code"]' + config.fallback_models: '["openai/preview/Qwen3.6-35B-A3B"]' config.custom_model_max_tokens: 256000 config.max_model_tokens: 120000 config.temperature: "0.2" + pr_code_suggestions.commitable_code_suggestions: "true" pr_reviewer.num_code_suggestions: "3" pr_reviewer.enable_review_score: "false" pr_reviewer.extra_instructions: |