This commit is contained in:
root
2025-10-05 14:42:51 +05:00
parent 4008ee64c7
commit c9d67731ca
@@ -59,7 +59,8 @@ public class DeepResearchService {
*/
public Mono<DeepResearchResponse> generateReportAsync(DeepResearchRequest request) {
return webClient.post()
log.info("*************");
Mono<DeepResearchResponse> temp = webClient.post()
.uri(apiUrl + "/api/research")
.bodyValue(request)
.retrieve()
@@ -76,5 +77,7 @@ public class DeepResearchService {
.onErrorMap(WebClientResponseException.class,
e -> new RuntimeException("Deep research API error: " + e.getResponseBodyAsString(), e))
.onErrorMap(Exception.class, e -> new RuntimeException("Failed to call deep research API", e));
log.info("*************");
return temp;
}
}