feat: hide GitHub Copilot provider preset and auth tab

Users reported that Copilot support causes excessively fast token
consumption. Temporarily hide the feature by adding a `hidden` field
to ProviderPreset interface and commenting out the auth center tab
in settings. Existing Copilot providers in DB still work via proxy.
This commit is contained in:
Jason
2026-04-02 17:15:11 +08:00
parent bae369b0dc
commit fee8577032
3 changed files with 15 additions and 7 deletions
@@ -429,10 +429,12 @@ export function ProviderForm({
preset,
}));
}
return providerPresets.map<PresetEntry>((preset, index) => ({
id: `claude-${index}`,
preset,
}));
return providerPresets
.filter((p) => !p.hidden)
.map<PresetEntry>((preset, index) => ({
id: `claude-${index}`,
preset,
}));
}, [appId]);
const {