Skip to content

Commit a4e6c48

Browse files
committed
fix issue 33
1 parent b4d1fb0 commit a4e6c48

File tree

1 file changed

+1
-1
lines changed
  • spring-ai-chat/spring-ai-chat-deepseek/src/main/java/com/glmapper/ai/chat/deepseek/controller

1 file changed

+1
-1
lines changed

spring-ai-chat/spring-ai-chat-deepseek/src/main/java/com/glmapper/ai/chat/deepseek/controller/ChatController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class ChatController {
3434
@GetMapping("/chatWithPrompt")
3535
public String prompt(@RequestParam String userInput, @RequestParam(required = false, defaultValue = "01") String promptType) {
3636
if ("01".equals(promptType)) {
37-
this.promptTemplateService.prompt01(userInput);
37+
return this.promptTemplateService.prompt01(userInput);
3838
} else if ("02".equals(promptType)) {
3939
return this.promptTemplateService.prompt02(userInput);
4040
} else if ("03".equals(promptType)) {

0 commit comments

Comments
 (0)