Refactor report generation with async streaming and logging

Enhanced report generation by integrating `CustomLogsHandler` and separating tasks for generating reports and streaming logs. Replaced the previous implementation with a unified async generator to handle concurrent execution and improve error handling. Updated module exports to include the new `CustomLogsHandler` component.
This commit is contained in:
ThomasTaroni 2025-04-25 22:07:25 +02:00
parent 6ee47f02c0
commit 1472e277bc
2 changed files with 36 additions and 16 deletions

View file

@ -1,4 +1,4 @@
# phoenix-technologies/__init__.py
from .gptresearch.deepresearch import ReportGenerator
from .gptresearch.deepresearch import ReportGenerator, CustomLogsHandler
__all__ = ["ReportGenerator"]
__all__ = ["ReportGenerator", "CustomLogsHandler"]