: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
from products.tasks.backend.logic.services.desktop_gateway_token import (
CREDIT_BUCKET_EXHAUSTED_DENIAL,
DESKTOP_AGENT_MODELS,
POSTHOG_CODE_CREDITS_EXHAUSTED_DETAIL,
POSTHOG_CODE_PRODUCT,
DesktopGatewayMintError,
_team_credit_refusal as team_credit_refusal,
desktop_gateway_base_url,
desktop_gateway_configured,
desktop_limit_tier,
desktop_token_ttl_seconds,
mint_desktop_gateway_token,
plan_allowed_models,
posthog_code_plan,
record_gateway_token_refusal,
)
__all__ = [
"CREDIT_BUCKET_EXHAUSTED_DENIAL",
"DESKTOP_AGENT_MODELS",
"POSTHOG_CODE_CREDITS_EXHAUSTED_DETAIL",
"POSTHOG_CODE_PRODUCT",
"DesktopGatewayMintError",
"desktop_gateway_base_url",
"desktop_gateway_configured",
"desktop_limit_tier",
"desktop_token_ttl_seconds",
"mint_desktop_gateway_token",
"plan_allowed_models",
"posthog_code_plan",
"record_gateway_token_refusal",
"team_credit_refusal",
]