Spaces:
Sleeping
Sleeping
Commit ·
dcb1582
1
Parent(s): d6e5751
Increase max_output_tokens to 4096 to prevent response truncation
Browse files
app.py
CHANGED
|
@@ -514,7 +514,7 @@ def generate_response(user_message: str, history: List[Dict], context: Dict) ->
|
|
| 514 |
prompt,
|
| 515 |
generation_config=genai.types.GenerationConfig(
|
| 516 |
temperature=0.7,
|
| 517 |
-
max_output_tokens=
|
| 518 |
)
|
| 519 |
)
|
| 520 |
|
|
|
|
| 514 |
prompt,
|
| 515 |
generation_config=genai.types.GenerationConfig(
|
| 516 |
temperature=0.7,
|
| 517 |
+
max_output_tokens=4096,
|
| 518 |
)
|
| 519 |
)
|
| 520 |
|