Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -701,6 +701,8 @@ def answer_question_thread(user_question, chatbot,audio=None):
|
|
701 |
while iterations < max_iterations:
|
702 |
|
703 |
response, intermediate_steps = agent_executor.invoke({"input": user_question}, config={"callbacks": [langfuse_handler]}, early_stopping_method="generate")
|
|
|
|
|
704 |
#create_file_HF()
|
705 |
if isinstance(response, dict):
|
706 |
response_text = response.get("output", "")
|
|
|
701 |
while iterations < max_iterations:
|
702 |
|
703 |
response, intermediate_steps = agent_executor.invoke({"input": user_question}, config={"callbacks": [langfuse_handler]}, early_stopping_method="generate")
|
704 |
+
print(f"response::{response}")
|
705 |
+
print(f"intermediate steps::{intermediate_steps}")
|
706 |
#create_file_HF()
|
707 |
if isinstance(response, dict):
|
708 |
response_text = response.get("output", "")
|