//package com.mcwl.web.controller.communityCenter;
//
//
//import com.mcwl.communityCenter.service.AIService;
//import com.mcwl.communityCenter.webSocket.ChatWebSocket;
//import lombok.RequiredArgsConstructor;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import reactor.core.publisher.Flux;
//
//@RequiredArgsConstructor
//@RestController
//@RequestMapping("/chat")
//public class ChatController {
//
//    private final AIService aiService;
//
//
//    /**
//     * ai
//     */
//    @GetMapping("/ai")
//    public Flux<String> switchUserMode(String msg) throws Exception {
//        return aiService.getDeepSeekResponseStream(msg);
//    }
//
//
//
//}
