mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
fix: add temperature arg to self reflect of improve
This commit is contained in:
parent
9bbed66028
commit
d01a7daaa7
1 changed files with 1 additions and 0 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue