revert: "fix: avoid an errant license warning banner on new deployments that d…" (#26240)

Reverts coder/coder#26239

We cannot disable a feature which was previously enabled; this is a BC
break.
This is also using `AIGatewayRoutingEnabled` which will be removed in
the next release.
This commit is contained in:
Danny Kopping
2026-06-11 08:07:32 +00:00
committed by GitHub
parent d0e9c5eda5
commit 78a6ec293e
7 changed files with 15 additions and 19 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ AI GATEWAY OPTIONS:
Length of time to retain data such as interceptions and all related
records (token, prompt, tool use).
--ai-gateway-enabled bool, $CODER_AI_GATEWAY_ENABLED (default: false)
--ai-gateway-enabled bool, $CODER_AI_GATEWAY_ENABLED (default: true)
Whether to start an in-memory AI Gateway instance.
--ai-gateway-max-concurrency int, $CODER_AI_GATEWAY_MAX_CONCURRENCY (default: 0)
+4 -4
View File
@@ -779,8 +779,8 @@ chat:
aibridge:
# Deprecated: use --ai-gateway-enabled or CODER_AI_GATEWAY_ENABLED instead.
# Whether to start an in-memory aibridged instance.
# (default: false, type: bool)
enabled: false
# (default: true, type: bool)
enabled: true
# Deprecated: use --ai-gateway-openai-base-url or CODER_AI_GATEWAY_OPENAI_BASE_URL
# instead. The base URL of the OpenAI API.
# (default: https://api.openai.com/v1/, type: string)
@@ -878,8 +878,8 @@ aibridge:
circuit_breaker_max_requests: 3
ai_gateway:
# Whether to start an in-memory AI Gateway instance.
# (default: false, type: bool)
enabled: false
# (default: true, type: bool)
enabled: true
# Deprecated: manage AI Providers from the Coder UI or HTTP API. If set, this
# option seeds provider configuration at startup only exactly once. It will not be
# used in service runtime. The base URL of the OpenAI API.