Commit 86989a4b authored by 林洋洋's avatar 林洋洋

修改流时返回格式

parent aba26463
......@@ -95,6 +95,7 @@ public class ChatController {
*
* @return
*/
@Operation(summary = "普通对话", description = "普通对话")
@GetMapping(value = "/chat", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
public Flux<String> chat(@RequestParam String message,
@RequestParam String conversationId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment