Aniket2006 commited on
Commit
dcb1582
·
1 Parent(s): d6e5751

Increase max_output_tokens to 4096 to prevent response truncation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=2048,
518
  )
519
  )
520
 
 
514
  prompt,
515
  generation_config=genai.types.GenerationConfig(
516
  temperature=0.7,
517
+ max_output_tokens=4096,
518
  )
519
  )
520