Crackershoot commited on
Commit
d731a75
·
verified ·
1 Parent(s): ad7b3a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -182,7 +182,7 @@ def ask_agent(question):
182
  logger.info(f"Question asked: {question[:100]}...")
183
  try:
184
  # Run the agent with the user's question, ensuring it uses its knowledge base.
185
- response = agent.run(question, use_knowledge=True, stream=True)
186
  # Get the agent's response as a single string.
187
  full_content = response.get_content_as_string()
188
  except Exception as e:
 
182
  logger.info(f"Question asked: {question[:100]}...")
183
  try:
184
  # Run the agent with the user's question, ensuring it uses its knowledge base.
185
+ response = agent.run(question, use_knowledge=True)
186
  # Get the agent's response as a single string.
187
  full_content = response.get_content_as_string()
188
  except Exception as e: