Skip to content

Commit aa590e8

Browse files
authored
Fix McpServerAutoConfigurationIT (#3792)
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
1 parent 6a1f982 commit aa590e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auto-configurations/mcp/spring-ai-autoconfigure-mcp-server/src/test/java/org/springframework/ai/mcp/server/autoconfigure/McpServerAutoConfigurationIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ List<SyncCompletionSpecification> testCompletions() {
422422
new McpSchema.CompleteResult.CompleteCompletion(List.of(), 0, false));
423423

424424
return List.of(new McpServerFeatures.SyncCompletionSpecification(
425-
new McpSchema.PromptReference("ref/prompt", "code_review"), completionHandler));
425+
new McpSchema.PromptReference("ref/prompt", "code_review", "Code review"), completionHandler));
426426
}
427427

428428
}
@@ -437,7 +437,7 @@ List<AsyncCompletionSpecification> testAsyncCompletions() {
437437
new McpSchema.CompleteResult.CompleteCompletion(List.of(), 0, false)));
438438

439439
return List.of(new McpServerFeatures.AsyncCompletionSpecification(
440-
new McpSchema.PromptReference("ref/prompt", "code_review"), completionHandler));
440+
new McpSchema.PromptReference("ref/prompt", "code_review", "Code review"), completionHandler));
441441
}
442442

443443
}

0 commit comments

Comments
 (0)