From a6e75b46cbc0cd4842823d7c6a8c060367c85ce0 Mon Sep 17 00:00:00 2001 From: Wei-Lun Li Date: Thu, 12 Nov 2026 22:43:22 +0000 Subject: [PATCH] fix(install): turn off plan gates in the Windows installer config (#4599) install.sh writes "meteringEnforcement": { "subscriptions": false } into config.json because a self-hosted install has no paid plans, so with the gates on the OpenAI/Anthropic-compatible AI endpoints answer 402 subscription_required for every account. install.ps1 never got that key, so a Windows install made with the README one-liner still has the gates on. Write the same key from install.ps1. --- install.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.ps1 b/install.ps1 index f45378092..b3d876d93 100644 --- a/install.ps1 +++ b/install.ps1 @@ -190,6 +190,13 @@ S3_BUCKET=puter-local providers = [ordered]@{ ollama = [ordered]@{ enabled = $false } } + # Off because a self-hosted install has no paid plans: every account + # is on the free policy, so the plan gates would 402 the surfaces that + # declare one (the OpenAI/Anthropic-compatible AI endpoints) for + # everybody. Same as install.sh. + meteringEnforcement = [ordered]@{ + subscriptions = $false + } trust_proxy = 1 } $configJson = $config | ConvertTo-Json -Depth 10