report log

This commit is contained in:
root
2025-10-05 14:05:57 +05:00
parent 94be2beb47
commit 764df0dbb5
@@ -65,7 +65,7 @@ public class DeepResearchService {
.retrieve()
.bodyToMono(DeepResearchResponse.class)
// 👇 Log the successful response object here
.doOnSuccess(response -> log.info("Deep research API response: {}", response))
.doOnSuccess(response -> log.info("Deep research API response: {}", response.getReport()))
.timeout(Duration.ofMillis(timeoutMs))
.onErrorMap(WebClientResponseException.class,
e -> new RuntimeException("Deep research API error: " + e.getResponseBodyAsString(), e))