We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ce10d commit 2b747c6Copy full SHA for 2b747c6
backend/main.py
@@ -604,8 +604,15 @@ def get_now_ist():
604
except Exception:
605
pass
606
607
+ # Generate a concise 1-2 line summary for the UI
608
+ summary = text[:100] + "..." if len(text) > 100 else text
609
+ if gemini_analysis["image_description"]:
610
+ summary = f"Image Report: {summary}"
611
+
612
return TicketResponse(
613
+ ticket_id=ticket_id,
614
summary=summary,
615
+ text=text,
616
category=classification["category"],
617
subcategory=classification["subcategory"],
618
priority=classification["priority"],
0 commit comments