From 887135954f23e0c953ccea8d51ae7faa3d4ddf70 Mon Sep 17 00:00:00 2001 From: Andrew Maguire Date: Tue, 7 Apr 2026 18:36:05 +0100 Subject: [PATCH] feat(llma): tag stamphog traces with ai_product property Adds the standard `ai_product=stamphog` property to PR approval agent LLM events so they can be filtered alongside other PostHog AI products (posthog_ai, signals, etc.) in LLM Analytics. --- tools/pr-approval-agent/reviewer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/pr-approval-agent/reviewer.py b/tools/pr-approval-agent/reviewer.py index 0ef9f405a289..dfa980f447bc 100644 --- a/tools/pr-approval-agent/reviewer.py +++ b/tools/pr-approval-agent/reviewer.py @@ -226,6 +226,7 @@ async def _review(self, pr: PRData, classification: dict, gate_context: dict) -> posthog_kwargs = { "posthog_distinct_id": "stamphog", "posthog_properties": { + "ai_product": "stamphog", "stamphog_pr_number": pr.number, "stamphog_repo": pr.repo, "stamphog_author": pr.author,