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 a8ff4c6 commit 05ac10fCopy full SHA for 05ac10f
orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationChatResponse.java
@@ -123,7 +123,8 @@ public LLMChoice getChoice() {
123
@Nonnull
124
public <T> T asEntity(@Nonnull final Class<T> type) throws OrchestrationClientException {
125
final String refusal =
126
- ((LLMModuleResultSynchronous) getOriginalResponse().getOrchestrationResult())
+ getOriginalResponse()
127
+ .getOrchestrationResult()
128
.getChoices()
129
.get(0)
130
.getMessage()
0 commit comments