hsaest commited on
Commit
71e249c
·
1 Parent(s): f777cc6

Force max new tokens to 16384

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2371,7 +2371,7 @@ def build_research_agent(
2371
  preferred_model=primary_model,
2372
  candidate_models=fallback_models,
2373
  temperature=temperature,
2374
- max_new_tokens=int(os.getenv("QUEST_MAX_NEW_TOKENS", "16384")),
2375
  )
2376
  dt = time.time() - t0
2377
  model_output = raw_output
 
2371
  preferred_model=primary_model,
2372
  candidate_models=fallback_models,
2373
  temperature=temperature,
2374
+ max_new_tokens=16384,
2375
  )
2376
  dt = time.time() - t0
2377
  model_output = raw_output