mark approved game plan candidates as supported

This commit is contained in:
devmrko
2026-07-27 14:34:51 +09:00
parent 55faaa0794
commit 3a7e2ced00

View File

@@ -376,6 +376,7 @@ public class McpSseService {
private ObjectNode gameQueryPlanResponse(GameCatalogVectorService.Resolution resolution) { private ObjectNode gameQueryPlanResponse(GameCatalogVectorService.Resolution resolution) {
ObjectNode response = gameCatalogVectorResponse(resolution); ObjectNode response = gameCatalogVectorResponse(resolution);
response.put("status", resolution.candidates().isEmpty() ? "NO_MATCH" : "SUPPORTED");
String mode = switch (resolution.scopeType()) { String mode = switch (resolution.scopeType()) {
case "SINGLE_GAME" -> "SINGLE"; case "SINGLE_GAME" -> "SINGLE";
case "MULTI_GAME" -> "FAN_OUT"; case "MULTI_GAME" -> "FAN_OUT";