Merge pull request '[KC-108] 분석도엽 ai api호출 테스트중' (#198) from feat/infer_dev_260107 into develop
Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/198
This commit is contained in:
@@ -217,7 +217,7 @@ public class InferenceResultService {
|
|||||||
headers.setContentType(MediaType.APPLICATION_JSON);
|
headers.setContentType(MediaType.APPLICATION_JSON);
|
||||||
|
|
||||||
ExternalCallResult result =
|
ExternalCallResult result =
|
||||||
externalHttpClient.call(inferenceUrl, HttpMethod.POST, json, headers);
|
externalHttpClient.call(inferenceUrl, HttpMethod.POST, dto, headers);
|
||||||
|
|
||||||
if (!result.success()) {
|
if (!result.success()) {
|
||||||
throw new CustomApiException("BAD_GATEWAY", HttpStatus.BAD_GATEWAY);
|
throw new CustomApiException("BAD_GATEWAY", HttpStatus.BAD_GATEWAY);
|
||||||
|
|||||||
Reference in New Issue
Block a user