CoralLeiCN
commited on
Commit
·
dfd6d8a
1
Parent(s):
2198402
Fix gemini_model_liteLLM: ensure seed is consistently set to 42 for reproducibility
Browse files- agent/utils.py +1 -0
agent/utils.py
CHANGED
@@ -11,6 +11,7 @@ def gemini_model_liteLLM(
|
|
11 |
model_id=f"gemini/{model}",
|
12 |
response_format=response_format,
|
13 |
temperature=0.0,
|
|
|
14 |
thinking={"type": "enabled", "budget_tokens": 1024},
|
15 |
)
|
16 |
|
|
|
11 |
model_id=f"gemini/{model}",
|
12 |
response_format=response_format,
|
13 |
temperature=0.0,
|
14 |
+
seed=42,
|
15 |
thinking={"type": "enabled", "budget_tokens": 1024},
|
16 |
)
|
17 |
|