: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(wizard): allow gpt-6.1 and sonnet 5.5 in the gateway fallback (#130328)
Edwin Limb26720810636
diff --git a/posthog/llm/wizard_gateway_token.py b/posthog/llm/wizard_gateway_token.pyindex 9d81ebb4abd0..c1383d8e9788 100644--- a/posthog/llm/wizard_gateway_token.py+++ b/posthog/llm/wizard_gateway_token.py@@ -182,12 +182,15 @@ _MAX_ALLOWED_MODELS = 32# that mint for a tool keep working when the allowlist is unreadable.WIZARD_DEFAULT_MODELS: tuple[str, ...] = ("claude-sonnet-5",+ "claude-sonnet-5-5","claude-haiku-4-5","gpt-5.6-luna","gpt-5.6-sol","gpt-5.6-terra","gpt-6-luna","gpt-6-sol",+ "gpt-6.1-sol",+ "gpt-6.1-terra",)WIZARD_DEFAULT_EFFORTS: tuple[str, ...] = ("none", "minimal", "low", "medium", "high", "xhigh")WIZARD_DEFAULT_PROGRAMS: tuple[str, ...] = (