Skip to content

Commit ccbcd64

Browse files
committed
Formatting
1 parent 002f677 commit ccbcd64

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

sample-code/spring-ai-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
@@ -40,8 +40,7 @@ ChatResponse completion() {
4040
@GetMapping("/template")
4141
ChatResponse template() {
4242
var template = new PromptTemplate("{input}");
43-
var prompt =
44-
template.create(Map.of("input", "Hello World!"), defaultOptions);
43+
var prompt = template.create(Map.of("input", "Hello World!"), defaultOptions);
4544

4645
return client.call(prompt);
4746
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package com.sap.ai.sdk.app.controllers;
22

3+
import static org.assertj.core.api.Assertions.assertThat;
4+
35
import org.junit.jupiter.api.Test;
46
import org.springframework.ai.chat.model.ChatResponse;
57

6-
import static org.assertj.core.api.Assertions.assertThat;
7-
88
public class OrchestrationTest {
99

1010
OrchestrationController controller = new OrchestrationController();

0 commit comments

Comments
 (0)