File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
orchestration/src/main/java/com/sap/ai/sdk/orchestration Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 11package com .sap .ai .sdk .orchestration ;
22
3- import com .sap .ai .sdk .orchestration .model .ChatMessage ;
43import com .sap .ai .sdk .orchestration .model .CompletionRequestConfiguration ;
54import com .sap .ai .sdk .orchestration .model .ModuleConfigs ;
65import 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
You can’t perform that action at this time.
0 commit comments