Skip to content

Commit 05ac10f

Browse files
merge main
1 parent a8ff4c6 commit 05ac10f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationChatResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ public LLMChoice getChoice() {
123123
@Nonnull
124124
public <T> T asEntity(@Nonnull final Class<T> type) throws OrchestrationClientException {
125125
final String refusal =
126-
((LLMModuleResultSynchronous) getOriginalResponse().getOrchestrationResult())
126+
getOriginalResponse()
127+
.getOrchestrationResult()
127128
.getChoices()
128129
.get(0)
129130
.getMessage()

0 commit comments

Comments
 (0)