: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): update the trace summarization AI event path (#105960)
posthog[bot]e04e4067c973
diff --git a/posthog/temporal/ai_observability/trace_summarization/constants.py b/posthog/temporal/ai_observability/trace_summarization/constants.pyindex e31c90a13680..6c04100426b0 100644--- a/posthog/temporal/ai_observability/trace_summarization/constants.py+++ b/posthog/temporal/ai_observability/trace_summarization/constants.py@@ -44,9 +44,10 @@ MAX_TRACE_EVENTS_LIMIT = 50MAX_TRACE_PROPERTIES_SIZE = 2_000_000# AI event types used in trace queries (sampling and fetching).-# Mirrors `AI_EVENT_NAMES` in posthog/hogql_queries/ai/ai_table_resolver.py-# and the Node.js list in nodejs/src/ingestion/ai/process-ai-event.ts —-# kept as a tuple here so HogQL placeholders can build a deterministic+# Mirrors `AI_EVENT_NAMES` in posthog/hogql_queries/ai/ai_table_resolver.py.+# Node.js ingestion admits any `$ai_*` name by the prefix in+# nodejs/src/ingestion/common/ai-event-types.ts, so it has no list to sync.+# Kept as a tuple here so HogQL placeholders can build a deterministic# `event IN (...)` clause from a single source.AI_EVENT_TYPES = ("$ai_span",