Commit 27080182 authored by yangyw's avatar yangyw

Merge branch 'refs/heads/feature/20241217_收尾' into sandbox

parents 6a17cc7b b8eb7c9c
......@@ -596,7 +596,6 @@ public class AppChatCompletionService {
final Boolean[] referenceFlag = {false};
return webClient.post().uri(dsApiBase).accept(MediaType.TEXT_EVENT_STREAM).bodyValue(reqBody.toJSONString()).exchangeToFlux(r -> r.bodyToFlux(String.class))
.mapNotNull(v -> {
log.info("ds:{}", v);
UserAskResultMobileDto result = new UserAskResultMobileDto();
JSONObject json = JSONObject.parseObject(v);
String type = json.getString("type");
......
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