Cian Johnston
4936ff9808
refactor: deprecate AIGatewayRoutingEnabled, remove direct chat routing ( #26862 )
...
This PR removes the now-dead direct-routing code:
- Deletes the direct routing implementation.
- Collapses the resolvedModelRoute discriminated union into aiGatewayModelRoute.
- Removes the dead providerKeys cascade.
- Deletes the preferredShortTextCandidates quickgen function.
- Simplifies the advisor override error handling.
- Deprecates the AIGatewayRoutingEnabled deployment option. It is now a no-op so as to not break existing deployments on upgrade.
Once direct routing was gone, the AI Gateway became mandatory for chat, which surfaced gaps in how the product behaves with the gateway disabled:
- Exposes ai-gateway-enabled to the frontend via embedded page metadata.
- Disables the chat composer via the existing AgentSetupNotice when the gateway is disabled, for both new and existing chats.
- Fixes nil/typed-nil chatDaemon panics on startup and shutdown when gateway is disabled.
- Fixes chat WebSocket from retrying the still-gated stream endpoint forever when the gateway is disabled.
2026-07-01 20:15:03 +01:00
..
2026-06-16 12:35:40 +00:00
2026-03-23 17:34:43 +00:00
2026-07-01 15:59:55 +03:00
2026-06-16 11:14:37 +01:00
2026-06-26 13:33:55 -06:00
2026-06-16 12:35:40 +00:00
2026-07-01 15:59:55 +03:00
2026-06-30 18:49:50 +03:00
2026-06-16 12:35:40 +00:00
2026-06-16 12:35:40 +00:00
2026-07-01 15:59:55 +03:00
2026-06-26 14:33:26 +01:00
2026-07-01 20:34:25 +02:00
2026-05-04 11:17:19 +02:00
2026-03-30 11:43:59 +00:00
2026-06-19 19:59:54 +01:00
2026-06-18 22:45:01 +02:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-07-01 20:15:03 +01:00
2026-06-18 10:08:48 +02:00
2026-05-22 20:24:38 +10:00
2026-05-18 12:30:30 -04:00
2026-06-12 13:33:12 +02:00
2026-06-18 22:44:02 +02:00
2026-06-18 22:44:02 +02:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-05-08 02:07:33 +10:00
2026-06-12 13:33:12 +02:00
2026-07-01 20:15:03 +01:00
2026-07-01 15:59:55 +03:00
2026-05-22 09:50:01 +02:00
2026-06-22 19:26:34 -06:00
2026-06-22 19:26:34 -06:00
2026-06-30 12:17:42 +01:00
2026-06-22 19:26:34 -06:00
2026-06-22 19:26:34 -06:00
2026-06-17 00:10:07 -07:00
2026-06-11 16:08:32 +10:00
2026-06-11 16:08:32 +10:00
2026-05-20 01:37:38 +02:00
2026-04-08 11:54:44 -04:00
2026-04-08 11:54:44 -04:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-06-17 10:20:47 +00:00
2026-07-01 20:15:03 +01:00
2026-07-01 15:59:55 +03:00
2026-06-26 13:41:43 +03:00
2026-06-22 19:26:34 -06:00
2026-07-01 20:15:03 +01:00
2026-07-01 15:59:55 +03:00
2026-06-16 12:35:40 +00:00
2026-06-15 17:17:50 +02:00
2026-06-15 17:17:50 +02:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-06-12 13:33:12 +02:00
2026-05-05 00:57:51 +02:00
2026-05-05 00:57:51 +02:00
2026-06-26 13:41:43 +03:00
2026-06-29 11:49:10 +01:00
2026-06-29 11:49:10 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-06-26 13:41:43 +03:00
2026-04-22 20:11:53 +10:00
2026-06-12 13:33:12 +02:00
2026-06-17 10:20:47 +00:00
2026-06-18 19:02:42 +02:00
2026-03-25 14:09:24 +00:00
2026-03-25 14:09:24 +00:00
2026-06-25 00:51:13 +10:00
2026-04-22 20:11:53 +10:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-16 12:35:40 +00:00
2026-06-18 08:28:17 +00:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-12 13:33:12 +02:00
2026-06-30 21:57:40 +01:00
2026-06-30 21:57:40 +01:00
2026-07-01 20:15:03 +01:00
2026-06-12 13:33:12 +02:00
2026-07-01 15:59:55 +03:00
2026-07-01 15:59:55 +03:00
2026-06-18 19:02:42 +02:00
2026-06-17 18:29:43 +02:00
2026-07-01 20:15:03 +01:00
2026-07-01 20:15:03 +01:00
2026-07-01 15:59:55 +03:00
2026-05-22 20:24:38 +10:00
2026-04-14 16:56:17 +01:00
2026-06-15 20:24:13 +10:00
2026-06-12 13:33:12 +02:00