We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d401e43 commit b6d438cCopy full SHA for b6d438c
orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationChatResponse.java
@@ -139,7 +139,7 @@ public <T> T asEntity(@Nonnull final Class<T> type) throws OrchestrationClientEx
139
return new ObjectMapper().readValue(getContent(), type);
140
} catch (InvalidDefinitionException e) {
141
throw new OrchestrationClientException(
142
- "Failed to deserialize the JSON content. Please make sure to use the correct class and that the class has a no-args constructor or is static: "
+ "Failed to deserialize the JSON content. Please make sure to use the correct class and that the class has a no-args constructor and it is static: "
143
+ e.getMessage()
144
+ "\nJSON content: "
145
+ getContent(),
0 commit comments