Skip to content

Commit 353507d

Browse files
newtorka-dCharlesDuboisSAP
authored
Remove redundant property (#126)
* Remove redundant property * Removed empty inputParams --------- Co-authored-by: Alexander Dümont <[email protected]> Co-authored-by: I538344 <[email protected]>
1 parent 05be2ca commit 353507d

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

docs/guides/ORCHESTRATION_CHAT_COMPLETION.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ var config =
124124
ModuleConfigs.create()
125125
.llmModuleConfig(llmConfig)
126126
.templatingModuleConfig(templatingConfig)))
127-
.inputParams(Map.of())
128127
.messagesHistory(messagesHistory);
129128

130129
CompletionPostResponse result =

orchestration/src/test/java/com/sap/ai/sdk/orchestration/OrchestrationUnitTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ class OrchestrationUnitTest {
7979
.moduleConfigurations(
8080
ModuleConfigs.create()
8181
.llmModuleConfig(LLM_CONFIG)
82-
.templatingModuleConfig(templatingModuleConfig)))
83-
.inputParams(Map.of());
82+
.templatingModuleConfig(templatingModuleConfig)));
8483

8584
@BeforeEach
8685
void setup(WireMockRuntimeInfo server) {

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/controllers/OrchestrationController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ class OrchestrationController {
4949
.moduleConfigurations(
5050
ModuleConfigs.create()
5151
.llmModuleConfig(LLM_CONFIG)
52-
.templatingModuleConfig(templatingModuleConfig)))
53-
.inputParams(Map.of());
52+
.templatingModuleConfig(templatingModuleConfig)));
5453

5554
/**
5655
* Creates a config from a filter threshold. The config includes a template and has input and

0 commit comments

Comments
 (0)