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.

feat(wizard): allow gpt-6 luna and sol on gateway tokens (#106252)

Vincent (Wen Yu) Ge680f2de23fa1
diff --git a/posthog/llm/wizard_gateway_token.py b/posthog/llm/wizard_gateway_token.py
index d605a5fa72e8..2669ad79353a 100644
--- a/posthog/llm/wizard_gateway_token.py
+++ b/posthog/llm/wizard_gateway_token.py
@@ -67,6 +67,8 @@ WIZARD_MODEL_ALLOWLIST: dict[str, tuple[str, ...]] = {
"gpt-5.6-luna": ("low",),
"gpt-5.6-sol": ("medium",),
"gpt-5.6-terra": ("low", "medium", "high"),
+ "gpt-6-luna": ("low", "medium"),
+ "gpt-6-sol": ("low", "medium", "high"),
}
# pi sends the provider-prefixed id for OpenAI models; the gateway pins the bare model.