Prompts.get() now fetches prompt versions by label (e.g. "production")
@posthog/ai@8.4.0
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
From the original release noteView original ↗
8.4.0
Minor Changes
- #4163
45f5488Thanks @jurajmajerik! - feat(ai): add alabeloption toPrompts.get()to fetch the prompt version a label (e.g.production) currently points to. Labeled fetches are cached separately, results carry the resolvedlabel, and a warning is logged when the server does not resolve the requested label (older PostHog versions ignore the parameter and return the latest version). (2026-07-17)
Fetched July 17, 2026

