Skip to content

Commit 3e213d3

Browse files
committed
Linting
1 parent db84b7b commit 3e213d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Object toolCalling(
133133

134134
@GetMapping("/mcp")
135135
Object mcp(@Nullable @RequestParam(value = "format", required = false) final String format) {
136-
val response = service.toolCallingMCP();
136+
val response = service.toolCallingMcp();
137137

138138
if ("json".equals(format)) {
139139
return ((OrchestrationSpringChatResponse) response)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public ChatResponse toolCalling(final boolean internalToolExecutionEnabled) {
192192
* @return the assistant response object
193193
*/
194194
@Nonnull
195-
public ChatResponse toolCallingMCP() {
195+
public ChatResponse toolCallingMcp() {
196196
// check if spring profile is set to 'mcp'
197197
if (!activeProfile.equals("mcp")) {
198198
throw new IllegalStateException(

0 commit comments

Comments
 (0)