修改存储智能客服会话类型

This commit is contained in:
liukai
2025-09-04 17:13:41 +08:00
parent d917c6ca85
commit 897e2596b0

View File

@@ -122,7 +122,7 @@ public class DashScopeController {
*/ */
@RequestMapping(value = "/service", produces = "text/stream;charset=UTF-8") @RequestMapping(value = "/service", produces = "text/stream;charset=UTF-8")
public Flux<String> service(String prompt, String chatId) { public Flux<String> service(String prompt, String chatId) {
chatHistoryService.saveHistoryChatId(ChatTypeEnum.CHAT_PDF.type, chatId); chatHistoryService.saveHistoryChatId(ChatTypeEnum.CHAT_SERVICE.type, chatId);
return serviceDashScopeChatClient return serviceDashScopeChatClient
.prompt() .prompt()
.user(prompt) .user(prompt)