File tree Expand file tree Collapse file tree
browser/components/smartwindow/content Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1300,7 +1300,7 @@ function addInsightsToData(payload) {
13001300 upsertedByCategory += 1 ;
13011301 }
13021302
1303- // Legacy chips: keep the short text so UI shows tags today
1303+ // Legacy chips: keep the summary text so UI shows tags today
13041304 const label = summary ;
13051305 if ( category ) {
13061306 if ( ! insightsData [ category ] ) {
@@ -1469,7 +1469,7 @@ export async function analyzeHistorySmart() {
14691469 ( meta . history ?. lastMicros || 0 ) === 0 ;
14701470
14711471 if ( firstRun ) {
1472- return generateInsightsFromHistory ( { days : 60 , maxResults : 1000 } ) ; // unchanged full run
1472+ return generateInsightsFromHistory ( { days : 60 , maxResults : 3000 } ) ; // full run
14731473 }
14741474 return updateInsightsFromHistoryIncremental ( ) ;
14751475}
@@ -1517,9 +1517,9 @@ export async function generateInsightsFromHistory(
15171517 const [ agg_domains , agg_titles , agg_searches ] = aggregateSessions ( prepared ) ;
15181518
15191519 const topk = topkAggregates ( agg_domains , agg_titles , agg_searches , {
1520- k_domains : 50 ,
1520+ k_domains : 100 ,
15211521 k_titles : 60 ,
1522- k_searches : 10 ,
1522+ k_searches : 25 ,
15231523 } ) ;
15241524
15251525 console . log ( `[Insights] Generating insights with LLM...` ) ;
You can’t perform that action at this time.
0 commit comments