OpenAI groupId maps to AI session; LangChain spans use run names
@posthog/ai@8.6.0
1 feature1 fixThis release1 featureNew capabilities1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗
8.6.0
Minor Changes
- #4335
9a453b9Thanks @marco-g-pm! - The OpenAI Agents SDKgroupIdnow also maps to$ai_session_idon$ai_traceand span events, so grouped runs show up as sessions in PostHog AI observability.$ai_group_idis still emitted alongside it. (2026-07-30)
Patch Changes
- #4336
1eb04c1Thanks @marco-g-pm! - Fix LangChain spans being named after their class instead of the runnable. LangChain passesrunNameas a bare string, which the name resolver skipped because it only inspected object arguments, so every tool span was captured asDynamicStructuredToolrather than the tool's own name. (2026-07-30)
Fetched July 30, 2026

