운영환경일때 ai팀경로수정

This commit is contained in:
2026-02-26 10:24:29 +09:00
parent 4a120ae5fd
commit 6f44319d33
4 changed files with 21 additions and 21 deletions

View File

@@ -452,6 +452,7 @@ public class InferenceResultService {
log.warn("not InferenceSendDto dto");
throw new CustomApiException("BAD_REQUEST", HttpStatus.BAD_REQUEST);
}
dto.changeValForProd();
// 1) 요청 로그
try {
@@ -551,13 +552,6 @@ public class InferenceResultService {
sendDto.setCls_model_version(modelInfo.getModelVer());
sendDto.setCd_model_type(modelType);
sendDto.setPriority(5d);
// 운영환경일때 경로수정 dean 260226
if (profile != null && profile.equals("prod")) {
log.info("profile = {} change inforence req", profile);
sendDto.changeValForProd();
}
log.info("[Inference Send]SendDto={}", sendDto);
return sendDto;
}

View File

@@ -218,12 +218,6 @@ public class InferenceRunService {
sendDto.setCls_model_version(modelInfo.getModelVer());
sendDto.setCd_model_type(modelType);
sendDto.setPriority(5.0);
// 운영환경일때 경로수정 dean 260226
if (profile != null && profile.equals("prod")) {
log.info("profile = {} change inforence req", profile);
sendDto.changeValForProd();
}
return sendDto;
}
}