@@ -16,9 +16,6 @@ import {type ApiQueryKey, useApiQuery, useQueryClient} from 'sentry/utils/queryC
16
16
import useOrganization from 'sentry/utils/useOrganization' ;
17
17
import { useAiConfig } from 'sentry/views/issueDetails/streamline/hooks/useAiConfig' ;
18
18
19
- const POSSIBLE_CAUSE_CONFIDENCE_THRESHOLD = 0.0 ;
20
- const POSSIBLE_CAUSE_NOVELTY_THRESHOLD = 0.0 ;
21
-
22
19
export interface GroupSummaryData {
23
20
groupId : string ;
24
21
headline : string ;
@@ -247,12 +244,6 @@ function GroupSummaryFull({
247
244
setForceEvent : ( v : boolean ) => void ;
248
245
} ) {
249
246
const config = getConfigForIssueType ( group , project ) ;
250
- const shouldShowPossibleCause =
251
- ! data ?. scores ||
252
- ( data . scores ?. possibleCauseConfidence &&
253
- data . scores . possibleCauseConfidence >= POSSIBLE_CAUSE_CONFIDENCE_THRESHOLD &&
254
- data . scores . possibleCauseNovelty &&
255
- data . scores . possibleCauseNovelty >= POSSIBLE_CAUSE_NOVELTY_THRESHOLD ) ;
256
247
const shouldShowResources = config . resources && ! preview ;
257
248
258
249
const insightCards = [
@@ -270,17 +261,14 @@ function GroupSummaryFull({
270
261
icon : < IconSpan size = "sm" /> ,
271
262
showWhenLoading : false ,
272
263
} ,
273
- ...( shouldShowPossibleCause
274
- ? [
275
- {
276
- id : 'possible_cause' ,
277
- title : t ( 'Initial Guess' ) ,
278
- insight : data ?. possibleCause ,
279
- icon : < IconFocus size = "sm" /> ,
280
- showWhenLoading : true ,
281
- } ,
282
- ]
283
- : [ ] ) ,
264
+ {
265
+ id : 'possible_cause' ,
266
+ title : t ( 'Initial Guess' ) ,
267
+ insight : data ?. possibleCause ,
268
+ icon : < IconFocus size = "sm" /> ,
269
+ showWhenLoading : true ,
270
+ } ,
271
+
284
272
...( shouldShowResources
285
273
? [
286
274
{
0 commit comments