From 9f5246d00abec479eb425afa87e7e7a112d0e46a Mon Sep 17 00:00:00 2001 From: kl3inIT Date: Thu, 6 Aug 2026 19:47:56 +0000 Subject: [PATCH] feat(ai): support none-reasoning assistant catalogs --- .../components/admin-language-models-page.tsx | 8 ++-- .../test/e2e/admin-language-models.spec.ts | 5 +++ .../ai/AiGatewayAdministrationService.java | 5 ++- .../ai/AssistantModelAuthorityService.java | 15 +++++-- .../AiGatewayAdministrationServiceTests.java | 40 +++++++++++++++++ .../AssistantModelAuthorityServiceTests.java | 44 ++++++++++++++++++- docs/specs/domains/ai-model-control-plane.md | 11 +++-- docs/tests/domains/ai-model-control-plane.md | 3 +- 8 files changed, 117 insertions(+), 14 deletions(-) diff --git a/apps/web/src/features/admin/components/admin-language-models-page.tsx b/apps/web/src/features/admin/components/admin-language-models-page.tsx index 5461e6cef..96b8cd4b1 100644 --- a/apps/web/src/features/admin/components/admin-language-models-page.tsx +++ b/apps/web/src/features/admin/components/admin-language-models-page.tsx @@ -768,8 +768,10 @@ function GatewaySettingsDialog({ const isAssistantGateway = Boolean(gateway?.id) && assistantRoute?.gatewayProfileId === gateway?.id + const supportsCatalogReasoning = + !assistantRoute?.openAiReasoningEffort || assistantRoute.openAiReasoningEffort === "NONE" const supportsAssistantChoices = - isAssistantGateway && !assistantRoute?.openAiReasoningEffort + isAssistantGateway && supportsCatalogReasoning function parsedAssistantModels() { return assistantModels @@ -892,9 +894,9 @@ function GatewaySettingsDialog({

Set this gateway as the Answer generation route before publishing choices to users.

- ) : assistantRoute?.openAiReasoningEffort ? ( + ) : !supportsCatalogReasoning ? (

- Alternate choices are unavailable while the answer route pins a reasoning effort. + Alternate choices require provider-default or None reasoning on the answer route.

) : discoveredModels.length > 0 ? (