mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 10:55:17 +00:00
Merge pull request #1996 from yamoyamoto/fix/add-temperature-arg-to-self-reflect-of-suggestion
fix: add temperature arg to self reflect of improve
This commit is contained in:
commit
ae799d1327
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