From d01a7daaa704a23925ce057e56b8bfa3212f9aa9 Mon Sep 17 00:00:00 2001 From: tomoya-kawaguchi Date: Wed, 13 Aug 2025 12:30:48 +0900 Subject: [PATCH] fix: add temperature arg to self reflect of improve --- pr_agent/tools/pr_code_suggestions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pr_agent/tools/pr_code_suggestions.py b/pr_agent/tools/pr_code_suggestions.py index 2aaf1320..e0d88ede 100644 --- a/pr_agent/tools/pr_code_suggestions.py +++ b/pr_agent/tools/pr_code_suggestions.py @@ -944,6 +944,7 @@ class PRCodeSuggestions: with get_logger().contextualize(command="self_reflect_on_suggestions"): response_reflect, finish_reason_reflect = await self.ai_handler.chat_completion(model=model, system=system_prompt_reflect, + temperature=get_settings().config.temperature, user=user_prompt_reflect) except Exception as e: get_logger().info(f"Could not reflect on suggestions, error: {e}")