Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|