From e305ced3bd1d488021bdc1bec5dac89b1bd12002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Ziel?= <159726064+danielvanza@users.noreply.github.com> Date: Mon, 16 Nov 2026 04:58:28 +0100 Subject: [PATCH] fix(bedrock): list VIDEO as an input modality of Nova Lite (#8537) --- src/main/resources/bedrock/model-catalog.yaml | 2 +- .../bedrock/BedrockModelCatalogIntegrationTest.java | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/resources/bedrock/model-catalog.yaml b/src/main/resources/bedrock/model-catalog.yaml index 588ddd977a..ea4d5a60ac 100644 --- a/src/main/resources/bedrock/model-catalog.yaml +++ b/src/main/resources/bedrock/model-catalog.yaml @@ -24,7 +24,7 @@ foundationModels: - modelId: amazon.nova-lite-v1:0 modelName: Nova Lite providerName: Amazon - inputModalities: [TEXT, IMAGE] + inputModalities: [TEXT, IMAGE, VIDEO] outputModalities: [TEXT] responseStreamingSupported: true lifecycleStatus: ACTIVE diff --git a/src/test/java/io/floci/aws/services/bedrock/BedrockModelCatalogIntegrationTest.java b/src/test/java/io/floci/aws/services/bedrock/BedrockModelCatalogIntegrationTest.java index 10f30bb631..b6f57f868a 100644 --- a/src/test/java/io/floci/aws/services/bedrock/BedrockModelCatalogIntegrationTest.java +++ b/src/test/java/io/floci/aws/services/bedrock/BedrockModelCatalogIntegrationTest.java @@ -59,6 +59,19 @@ class BedrockModelCatalogIntegrationTest { } } + @Test + void novaLiteAdvertisesVideoInputOnGetAndList() { + List expected = List.of("TEXT", "IMAGE", "VIDEO"); + try (BedrockClient client = client("us-east-1")) { + assertEquals(expected, client.getFoundationModel(request -> request.modelIdentifier(NOVA_LITE)) + .modelDetails().inputModalitiesAsStrings()); + FoundationModelSummary summary = client.listFoundationModels(request -> request.byProvider("Amazon")) + .modelSummaries().stream().filter(model -> NOVA_LITE.equals(model.modelId())).findFirst() + .orElseThrow(); + assertEquals(expected, summary.inputModalitiesAsStrings()); + } + } + @Test void listFoundationModelsOnlyListsModelsServedInTheRegion() { try (BedrockClient us = client("us-east-1"); BedrockClient eu = client("eu-west-1")) {