Fix code indent for the sample code in deepseek-chat.adoc

Signed-off-by: Robby Zhao <robby.zhaox@gmail.com>
This commit is contained in:
Robby Zhao
2025-02-08 12:06:21 +08:00
committed by Ilayaperumal Gopinathan
parent 171b758934
commit 1b216ab17e

View File

@@ -201,7 +201,7 @@ public class ChatController {
}
@GetMapping("/ai/generateStream")
public Flux<ChatResponse> generateStream(@RequestParam(value = "message", defaultValue = "Tell me a joke") String message) {
public Flux<ChatResponse> generateStream(@RequestParam(value = "message", defaultValue = "Tell me a joke") String message) {
Prompt prompt = new Prompt(new UserMessage(message));
return this.chatModel.stream(prompt);
}