fix(bedrock): report inference profile support in model metadata (#9020)

Derive INFERENCE_PROFILE support from existing system profile routes
while preserving regional ON_DEMAND support and request-filter
validation. Cover Get and List metadata through raw SDK strings,
including profile-only and unavailable regions.

Closes #8450
This commit is contained in:
galsuchetzky-act authored and GitHub committed 2026-11-19 18:26:50 -04:00
1 parent 1ffa5ed2c9
commit 683cb84080
4 files changed
+87 -4

No files matched your search

@@ -349,6 +349,10 @@ public class BedrockController {
if (model.servedInRegion(region)) {
inferenceTypes.add("ON_DEMAND");
}
if (BedrockModelCatalog.profilesFrom(region).stream()
.anyMatch(profile -> profile.modelId().equals(model.modelId()))) {
inferenceTypes.add("INFERENCE_PROFILE");
}
node.putObject("modelLifecycle").put("status", model.lifecycleStatus());
return node;
}