Skip to content

Commit fe25e76

Browse files
committed
Added useful debug log but as an info one as log.debug() does not show/appear in terminal for some reason.
1 parent fcbd6fa commit fe25e76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/com/sap/ai/sdk/core/common/ClientResponseHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ private T parseSuccess(@Nonnull final ClassicHttpResponse response) throws E {
8888
.getOrElseThrow(e -> exceptionFactory.build(message, e).setHttpResponse(response));
8989
try {
9090
final T value = objectMapper.readValue(content, successType);
91+
log.info("Response content: {}", content);
9192
val timeHeaders = response.getHeaders("x-upstream-service-time");
9293
if (timeHeaders.length > 0) {
9394
log.info("LLM request success with duration:{}", timeHeaders[0].getValue());

0 commit comments

Comments
 (0)