Kalpokoch commited on
Commit
c2db6b3
·
verified ·
1 Parent(s): dd01bf7

Update app/app.py

Browse files
Files changed (1) hide show
  1. app/app.py +1 -1
app/app.py CHANGED
@@ -77,7 +77,7 @@ logger.info(f"[INFO] LLM_TIMEOUT_SECONDS set to: {LLM_TIMEOUT_SECONDS} seconds."
77
 
78
  async def generate_llm_response(prompt: str):
79
  """Helper function to run synchronous LLM inference."""
80
- response = llm(prompt, max_tokens=512, stop=["###"], temperature=0.2, echo=False)
81
  answer = response["choices"][0]["text"].strip()
82
  if not answer:
83
  raise ValueError("Empty response from LLM")
 
77
 
78
  async def generate_llm_response(prompt: str):
79
  """Helper function to run synchronous LLM inference."""
80
+ response = llm(prompt, max_tokens=1024, stop=["###"], temperature=0.2, echo=False)
81
  answer = response["choices"][0]["text"].strip()
82
  if not answer:
83
  raise ValueError("Empty response from LLM")