diff --git a/vpd-backoffice/src/main/java/com/cloudhandson/vpdbackoffice/service/SelectAiService.java b/vpd-backoffice/src/main/java/com/cloudhandson/vpdbackoffice/service/SelectAiService.java index 387e7b8..659fac8 100644 --- a/vpd-backoffice/src/main/java/com/cloudhandson/vpdbackoffice/service/SelectAiService.java +++ b/vpd-backoffice/src/main/java/com/cloudhandson/vpdbackoffice/service/SelectAiService.java @@ -141,8 +141,8 @@ public class SelectAiService { if (requestedKey.isEmpty()) { return new ResolvedExecutionScope(originalPrompt, null, null); } - if (gameScopeService == null || !gameScopeService.configured()) { - return new ResolvedExecutionScope(originalPrompt, requestedKey, null); + if (gameScopeService == null) { + throw new AppException("게임 범위 검증 서비스를 사용할 수 없습니다."); } GameScopeService.GameScope scope = gameScopeService.resolve(bearerToken, originalPrompt).scopes().stream() .filter(item -> requestedKey.equals(item.gameKey()))