Ali2206 commited on
Commit
e594ff1
·
verified ·
1 Parent(s): 1d89dcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -291,7 +291,7 @@ async def process_final_report(agent, file, chatbot_state: List[Dict[str, str]])
291
  elif isinstance(result, list):
292
  for r in result:
293
  if hasattr(r, "content"):
294
- summary_response += r.content
295
  except Exception as e:
296
  messages.append({"role": "assistant", "content": f"❌ Error generating final report: {str(e)}"})
297
  return messages, report_path
 
291
  elif isinstance(result, list):
292
  for r in result:
293
  if hasattr(r, "content"):
294
+ final_report_text += r.content
295
  except Exception as e:
296
  messages.append({"role": "assistant", "content": f"❌ Error generating final report: {str(e)}"})
297
  return messages, report_path