:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(aio): remove llm-analytics early adopter feature flags (#73309)
Radu Raicea5b0f680ea67c
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex 0945b79e67f5..97f1c379fefe 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -345,8 +345,6 @@ export const FEATURE_FLAGS = {LIVE_EVENTS_RICH_FILTERS: 'live-events-rich-filters', // owner: @jordanm-posthog #team-web-analyticsLLM_ANALYTICS_CLUSTERING_ADMIN: 'llm-analytics-clustering-admin', // owner: #team-ai-observabilityLLM_ANALYTICS_DATASETS: 'llm-analytics-datasets', // owner: #team-ai-observability #team-posthog-ai- LLM_ANALYTICS_EARLY_ADOPTERS: 'llm-analytics-early-adopters', // owner: #team-ai-observability- LLM_ANALYTICS_EVALUATIONS_REPORTS: 'llm-analytics-evaluations-reports', // owner: #team-ai-observabilityLLM_ANALYTICS_EVALUATIONS_START_WITH_AI: 'llm-analytics-evaluations-start-with-ai', // owner: #team-ai-observabilityLLM_ANALYTICS_OFFLINE_EVALS: 'llm-analytics-offline-evals', // owner: #team-ai-observabilityLLM_ANALYTICS_TAGS: 'llm-analytics-tags', // owner: #team-ai-observabilitydiff --git a/products/ai_observability/frontend/AIObservabilitySessionScene.tsx b/products/ai_observability/frontend/AIObservabilitySessionScene.tsxindex be37444c3a8e..e76778441b55 100644--- a/products/ai_observability/frontend/AIObservabilitySessionScene.tsx+++ b/products/ai_observability/frontend/AIObservabilitySessionScene.tsx@@ -169,8 +169,6 @@ function SessionSceneWrapper({ showBreadcrumb = false }: { showBreadcrumb?: bool}}, [playing, revealedTurnCount])- const showSessionSummarization = featureFlags[FEATURE_FLAGS.LLM_ANALYTICS_EARLY_ADOPTERS]-// Calculate session aggregatesconst sessionStats = traces.reduce((acc, trace) => ({@@ -252,7 +250,6 @@ function SessionSceneWrapper({ showBreadcrumb = false }: { showBreadcrumb?: boolturn={turn}phase={isScrubbing ? phaseOf(i) : 'complete'}showSentiment- showSessionSummarization={!!showSessionSummarization}traceSearchParams={traceSearchParams}/>))}@@ -386,14 +383,12 @@ function SessionTurnView({turn,phase = 'complete',showSentiment,- showSessionSummarization,traceSearchParams,rootRef,}: {turn: SessionTurnphase?: TurnPhaseshowSentiment: boolean- showSessionSummarization: booleantraceSearchParams: Record<string, unknown>rootRef?: Ref<HTMLDivElement>}): JSX.Element {@@ -433,9 +428,7 @@ function SessionTurnView({</div><div className="pb-4"><div className="flex-1 min-w-0 flex flex-col gap-2">- {isComplete && showSessionSummarization && summary && (- <TurnSummaryLine summary={summary} summaryUrl={summaryUrl} />- )}+ {isComplete && summary && <TurnSummaryLine summary={summary} summaryUrl={summaryUrl} />}<TurnBodyturn={turn}