.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user