Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@mvilanova
Copy link
Contributor

Code Changes Summary

src/dispatch/ai/service.py

  • Added imports for Visibility and Incident.
  • Simplified the generate_case_signal_summary function by modifying how the response is processed.
  • Introduced a new function generate_incident_summary to create summaries for incidents, with checks for visibility, review documents, and plugin availability.

src/dispatch/incident/flows.py

  • Replaced the call to incident_service.generate_incident_summary with ai_service.generate_incident_summary in the incident_closed_status_flow function.

src/dispatch/incident/scheduled.py

  • Reorganized imports and added import for ai_service.
  • Replaced the call to incident_service.generate_incident_summary with ai_service.generate_incident_summary in the incident_report_weekly function.

src/dispatch/incident/service.py

  • Removed the generate_incident_summary function, which has been moved to ai_service.

src/dispatch/incident/views.py

  • Reorganized imports and added import for ai_service.
  • Replaced the call to generate_incident_summary with ai_service.generate_incident_summary in the generate_summary endpoint.

@mvilanova mvilanova added the enhancement New feature or request label Feb 5, 2025
@mvilanova mvilanova requested a review from whitdog47 February 5, 2025 17:59
@mvilanova mvilanova merged commit c54604a into main Feb 5, 2025
10 checks passed
@mvilanova mvilanova deleted the bugfix/genai branch February 5, 2025 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants