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 fb418ac commit d054403Copy full SHA for d054403
orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationChatResponse.java
@@ -121,8 +121,8 @@ public LLMChoice getChoice() {
121
* @param <T> the type of the entity to deserialize to.
122
*/
123
@Nonnull
124
- public <T> T entity(@Nonnull final Class<T> type) {
125
- String refusal =
+ public <T> T entity(@Nonnull final Class<T> type) throws OrchestrationClientException {
+ final String refusal =
126
((LLMModuleResultSynchronous) getOriginalResponse().getOrchestrationResult())
127
.getChoices()
128
.get(0)
0 commit comments