Update app.py
Browse files
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
|
| 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:
|