mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
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:
@@ -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={},
|
||||
|
||||
Reference in New Issue
Block a user