Update app.py
Browse files
app.py
CHANGED
|
@@ -320,7 +320,7 @@ def call_gemini(history: List[types.Content]):
|
|
| 320 |
response = client.models.generate_content(
|
| 321 |
model="gemma-4-31b-it",
|
| 322 |
contents=history,
|
| 323 |
-
|
| 324 |
thinking_config=types.ThinkingConfig(thinking_level="MINIMAL")
|
| 325 |
),
|
| 326 |
)
|
|
|
|
| 320 |
response = client.models.generate_content(
|
| 321 |
model="gemma-4-31b-it",
|
| 322 |
contents=history,
|
| 323 |
+
config=types.GenerateContentConfig(
|
| 324 |
thinking_config=types.ThinkingConfig(thinking_level="MINIMAL")
|
| 325 |
),
|
| 326 |
)
|