Skip to content

Commit ee94941

Browse files
committed
Remove unrelated code
1 parent 02d5f54 commit ee94941

File tree

2 files changed

+2
-70
lines changed

2 files changed

+2
-70
lines changed

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/SpringAiOpenAiService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public ChatResponse ChatMemory() {
100100
val memory = MessageWindowChatMemory.builder().chatMemoryRepository(repository).build();
101101
val advisor = MessageChatMemoryAdvisor.builder(memory).build();
102102
val cl = ChatClient.builder(chatClient).defaultAdvisors(advisor).build();
103-
val prompt1 = new Prompt("What is the capital of France?", new OpenAiChatOptions());
104-
val prompt2 = new Prompt("And what is the typical food there?", new OpenAiChatOptions());
103+
val prompt1 = new Prompt("What is the capital of France?", new OpenAiChatOptions());
104+
val prompt2 = new Prompt("And what is the typical food there?", new OpenAiChatOptions());
105105

106106
cl.prompt(prompt1).call().content();
107107
return Objects.requireNonNull(

sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/SpringAiAgenticTest.java

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)