Reality123b commited on
Commit
72d52a6
·
verified ·
1 Parent(s): 293a291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -670,7 +670,8 @@ def deep_research(prompt):
670
  except Exception as e:
671
  logger.error(f"Error with {tool_name}: {str(e)}")
672
  context.append(f"Error with {tool_name}: {str(e)}")
673
- intermediate_output += f"Iteration {i+1} - Error: {str(e)}\"
 
674
 
675
  # Perform final meta-analysis if we have entity-specific insights
676
  if len(entity_specific_insights) > 1 and len(all_insights) > 2:
 
670
  except Exception as e:
671
  logger.error(f"Error with {tool_name}: {str(e)}")
672
  context.append(f"Error with {tool_name}: {str(e)}")
673
+ intermediate_output += f"Iteration {i+1} - Error: {str(e)}\n" # Added \n and closing quote
674
+ continue
675
 
676
  # Perform final meta-analysis if we have entity-specific insights
677
  if len(entity_specific_insights) > 1 and len(all_insights) > 2: