Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/dispatch/ai/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ def generate_case_signal_summary(case: Case, db_session: Session) -> dict[str, s

return summary
except json.JSONDecodeError as e:
message = "Unable to generate GenAI signal analysis. Error decoding response from the artificial-intelligence plugin."
message = f"Unable to decode JSON response from the artificial-intelligence plugin, returning raw response, with error {e}."
log.warning(message)
raise GenAIException(message) from e
return {"Summary": response}


def generate_incident_summary(incident: Incident, db_session: Session) -> str:
Expand Down
Loading