Spaces:
Runtime error
Runtime error
Update chat_gemini.py
Browse files- chat_gemini.py +0 -3
chat_gemini.py
CHANGED
|
@@ -130,9 +130,6 @@ class ChatGemini(BaseChatModel):
|
|
| 130 |
data = {
|
| 131 |
"contents": gemini_messages,
|
| 132 |
"generationConfig": {
|
| 133 |
-
"temperature": 0.0,
|
| 134 |
-
"topP": 0.8,
|
| 135 |
-
"topK": 40,
|
| 136 |
"maxOutputTokens": 2048,
|
| 137 |
},
|
| 138 |
**kwargs
|
|
|
|
| 130 |
data = {
|
| 131 |
"contents": gemini_messages,
|
| 132 |
"generationConfig": {
|
|
|
|
|
|
|
|
|
|
| 133 |
"maxOutputTokens": 2048,
|
| 134 |
},
|
| 135 |
**kwargs
|