Skip to content

: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.

371 B
Raw Blame
/**
 * Mirror of products/ai_observability/shared/crosslang/ai_event_limits.json, in decimal bytes. Edit that file first,
 * then these constants. The parity test in ai-event-limits.test.ts fails when they differ.
 */
export const AI_MAX_EVENT_BYTES_CEILING = 48_000_000
export const AI_INCLUDED_BYTES_PER_EVENT = 100_000
export const AI_MEDIA_OFFLOAD_MIN_BYTES = 15_000