Revert to use standard 1.0 temperature for gemini models

Using temp of 1.2 didn't help eliminate the repetition loops the
gemini models go into sometimes.
This commit is contained in:
Debanjum
2025-07-09 18:22:05 -07:00
parent b763dbfb2b
commit c28e90f388

View File

@@ -99,7 +99,7 @@ def gemini_completion_with_backoff(
messages: list[ChatMessage],
system_prompt: str,
model_name: str,
temperature=1.2,
temperature=1.0,
api_key=None,
api_base_url: str = None,
model_kwargs={},