Skip to content

Commit b9ad200

Browse files
Merge remote-tracking branch 'origin/spec-update/orchestration/rel-0.108.12' into spec-update/orchestration/rel-0.108.12
2 parents f3bf5d7 + 32864c7 commit b9ad200

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.sap.ai.sdk.orchestration;
22

3-
import com.sap.ai.sdk.orchestration.model.ChatMessage;
43
import com.sap.ai.sdk.orchestration.model.CompletionRequestConfiguration;
54
import com.sap.ai.sdk.orchestration.model.ModuleConfigs;
65
import com.sap.ai.sdk.orchestration.model.OrchestrationConfig;
@@ -33,9 +32,7 @@ static CompletionRequestConfiguration toCompletionPostRequest(
3332
val configCopy = config.withTemplateConfig(template);
3433

3534
val messageHistory =
36-
prompt.getMessagesHistory().stream()
37-
.map(Message::createChatMessage)
38-
.toList();
35+
prompt.getMessagesHistory().stream().map(Message::createChatMessage).toList();
3936

4037
val moduleConfigs = toModuleConfigs(configCopy);
4138

0 commit comments

Comments
 (0)