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:
parent
6ee47f02c0
commit
1472e277bc
2 changed files with 36 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
# phoenix-technologies/__init__.py
|
||||
from .gptresearch.deepresearch import ReportGenerator
|
||||
from .gptresearch.deepresearch import ReportGenerator, CustomLogsHandler
|
||||
|
||||
__all__ = ["ReportGenerator"]
|
||||
__all__ = ["ReportGenerator", "CustomLogsHandler"]
|
Loading…
Add table
Add a link
Reference in a new issue