report log
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user