assafelovic / gpt-researcher

LLM based autonomous agent that conducts local and web research on any topic and generates a comprehensive report with citations.
https://gptr.dev
Apache License 2.0
15k stars 2.01k forks source link

Update gptr-logs-handler.py #962

Closed DhruvKadam-git closed 3 weeks ago

DhruvKadam-git commented 3 weeks ago
  1. Logging Configuration: Integrated logging for better output management.

  2. Clear Logs Method: Added a method to clear logs.

  3. Error Handling: Enhanced error handling in the send_json method.

  4. Logging Report Generation: Added logging for successful report generation.

  5. Improved Readability: Overall improvements for clarity and maintainability.