feat!: default CODER_AI_GATEWAY_ENABLED to true (#25575)

`CODER_AI_GATEWAY_ENABLED` / `CODER_AIBRIDGE_ENABLED` is now being defaulted to `true` now that it will be used by Coder Agents.

If you previously had this value disabled explicitly, that value will persist.
This commit is contained in:
Danny Kopping
2026-05-22 08:57:36 +02:00
committed by GitHub
parent 9341efec9f
commit c50b0e84b9
7 changed files with 12 additions and 11 deletions
+1
View File
@@ -94,6 +94,7 @@ func TestEntitlements(t *testing.T) {
features[codersdk.FeatureUserLimit] = 100
coderdenttest.AddLicense(t, adminClient, coderdenttest.LicenseOptions{
Features: features,
Addons: []codersdk.Addon{codersdk.AddonAIGovernance},
GraceAt: time.Now().Add(59 * 24 * time.Hour),
})
res, err := adminClient.Entitlements(context.Background()) //nolint:gocritic // adding another user would put us over user limit