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
+2 -1
View File
@@ -811,7 +811,8 @@ func New(options *Options) *API {
providerAPIKeys = *options.ChatProviderAPIKeys
}
chatAIGatewayRoutingEnabled := options.DeploymentValues.AI.Chat.AIGatewayRoutingEnabled.Value()
chatAIGatewayRoutingEnabled := options.DeploymentValues.AI.BridgeConfig.Enabled.Value() &&
options.DeploymentValues.AI.Chat.AIGatewayRoutingEnabled.Value()
api.chatDaemon = chatd.New(chatd.Config{
Logger: options.Logger.Named("chatd"),