mark approved game plan candidates as supported
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user