Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -581,7 +581,7 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
|
|
581 |
yield content
|
582 |
|
583 |
logger.info(f"LLM RAW response for query: {query.query}: {full_response}")
|
584 |
-
response_content, interact =
|
585 |
|
586 |
result = {
|
587 |
"clarification": interact
|
@@ -625,7 +625,7 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
|
|
625 |
yield content
|
626 |
|
627 |
logger.info(f"LLM RAW response for query: {query.query}: {full_response}")
|
628 |
-
response_content, interact =
|
629 |
|
630 |
result = {
|
631 |
"response": response_content,
|
|
|
581 |
yield content
|
582 |
|
583 |
logger.info(f"LLM RAW response for query: {query.query}: {full_response}")
|
584 |
+
response_content, interact,tools = parse_followup_and_tools(full_response)
|
585 |
|
586 |
result = {
|
587 |
"clarification": interact
|
|
|
625 |
yield content
|
626 |
|
627 |
logger.info(f"LLM RAW response for query: {query.query}: {full_response}")
|
628 |
+
response_content, interact,tools = parse_followup_and_tools(full_response)
|
629 |
|
630 |
result = {
|
631 |
"response": response_content,
|