pvanand commited on
Commit
b36ea83
1 Parent(s): e99b62e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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 = parse_followup_response(full_response)
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 = parse_followup_response(full_response)
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,