Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -614,6 +614,8 @@ def answer_question_thread(user_question, chatbot, audio=None):
|
|
| 614 |
"""
|
| 615 |
|
| 616 |
response = agent_executor.invoke({"input": user_question}, config={"callbacks": [langfuse_handler]})
|
|
|
|
|
|
|
| 617 |
|
| 618 |
if isinstance(response, dict):
|
| 619 |
response_text = response.get("output", "")
|
|
|
|
| 614 |
"""
|
| 615 |
|
| 616 |
response = agent_executor.invoke({"input": user_question}, config={"callbacks": [langfuse_handler]})
|
| 617 |
+
print("response generated")
|
| 618 |
+
print(response)
|
| 619 |
|
| 620 |
if isinstance(response, dict):
|
| 621 |
response_text = response.get("output", "")
|