Skip to content

Commit e41923c

Browse files
roggenkemperandrewshie-sentry
authored andcommitted
feat(llm-detector): New group category for LLM Detected Issues (#103089)
LLM detected issues will be from a variety of different categories so there's no easy way to categorize them with the existing categories- making a new category to support them fixes https://linear.app/getsentry/issue/ID-1083/add-new-issue-category-for-llm-detected-issues
1 parent 45b155c commit e41923c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sentry/issues/grouptype.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ class GroupCategory(IntEnum):
6666
FRONTEND = 14
6767
MOBILE = 15
6868

69+
AI_DETECTED = 16
70+
6971

7072
GROUP_CATEGORIES_CUSTOM_EMAIL = (
7173
GroupCategory.ERROR,
@@ -622,8 +624,8 @@ class LLMDetectedExperimentalGroupType(GroupType):
622624
type_id = 3501
623625
slug = "llm_detected_experimental"
624626
description = "LLM Detected Issue"
625-
category = GroupCategory.PERFORMANCE.value
626-
category_v2 = GroupCategory.METRIC.value
627+
category = GroupCategory.AI_DETECTED.value
628+
category_v2 = GroupCategory.AI_DETECTED.value
627629
default_priority = PriorityLevel.MEDIUM
628630
released = False
629631
enable_auto_resolve = False

0 commit comments

Comments
 (0)